[GRASS-git] [OSGeo/grass] ffc874: grass.jupyter: Add docstrings, f-strings, fix var ...
Vaclav Petras
noreply at github.com
Sun Feb 13 12:59:58 PST 2022
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: ffc874d059fdf31cee910ff983336f17d53a25cf
https://github.com/OSGeo/grass/commit/ffc874d059fdf31cee910ff983336f17d53a25cf
Author: Vaclav Petras <wenzeslaus at gmail.com>
Date: 2022-02-13 (Sun, 13 Feb 2022)
Changed paths:
M python/grass/benchmark/runners.py
M python/grass/jupyter/display.py
M python/grass/jupyter/interact_display.py
M python/grass/jupyter/region.py
M python/grass/jupyter/render3d.py
M python/grass/jupyter/setup.py
M python/grass/jupyter/testsuite/grassrenderer_test.py
M python/grass/jupyter/testsuite/interactivemap_test.py
M python/grass/jupyter/testsuite/test_render3d.py
M python/grass/jupyter/utils.py
Log Message:
-----------
grass.jupyter: Add docstrings, f-strings, fix var names, imports (#2200)
* Add missing docstrings.
* Reorder imports (with both pylint and isort).
* Use full-word variable names.
* Use f-strings if possible. Here it replaces smart, but hard to decode, dictionary usage in format, by simple, although longer, direct use of the dictionary.
More information about the grass-commit
mailing list