[GRASS-git] [OSGeo/grass] 0111b1: Update to Black 21.5b1 (#1605)

Vaclav Petras noreply at github.com
Sun Jun 6 11:59:04 PDT 2021


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass
  Commit: 0111b11e8b3aae2c55f20eb1ceea3dc4ee86cee9
      https://github.com/OSGeo/grass/commit/0111b11e8b3aae2c55f20eb1ceea3dc4ee86cee9
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2021-06-06 (Sun, 06 Jun 2021)

  Changed paths:
    M .github/workflows/black.yml
    M gui/wxpython/animation/mapwindow.py
    M gui/wxpython/core/gconsole.py
    M gui/wxpython/core/render.py
    M gui/wxpython/datacatalog/catalog.py
    M gui/wxpython/datacatalog/infomanager.py
    M gui/wxpython/gui_core/gselect.py
    M gui/wxpython/iclass/frame.py
    M gui/wxpython/iscatt/dialogs.py
    M gui/wxpython/lmgr/layertree.py
    M gui/wxpython/nviz/animation.py
    M gui/wxpython/psmap/dialogs.py
    M gui/wxpython/psmap/utils.py
    M gui/wxpython/rlisetup/wizard.py
    M gui/wxpython/vnet/dialogs.py
    M gui/wxpython/vnet/vnet_data.py
    M gui/wxpython/vnet/widgets.py
    M gui/wxpython/wxgui.py
    M imagery/i.atcorr/create_iwave.py
    M lib/init/grass.py
    M man/parser_standard_options.py
    M pyproject.toml
    M python/grass/imaging/images2gif.py
    M python/grass/imaging/images2swf.py
    M python/grass/pygrass/raster/category.py
    M python/grass/pygrass/raster/segment.py
    M python/grass/pygrass/utils.py
    M python/grass/pygrass/vector/geometry.py
    M python/grass/pygrass/vector/table.py
    M python/grass/temporal/temporal_algebra.py
    M python/grass/temporal/temporal_granularity.py
    M python/grass/temporal/testsuite/unittests_temporal_algebra.py
    M python/grass/temporal/testsuite/unittests_temporal_algebra_grs.py
    M python/grass/temporal/testsuite/unittests_temporal_algebra_mixed_stds.py
    M python/grass/temporal/testsuite/unittests_temporal_conditionals.py
    M python/grass/temporal/testsuite/unittests_temporal_raster_algebra.py
    M python/grass/temporal/testsuite/unittests_temporal_vector_algebra.py
    M raster/r.contour/testsuite/testrc.py
    M raster/r.reclass/testsuite/test_r_reclass.py
    M scripts/i.pansharpen/i.pansharpen.py
    M temporal/t.rast.algebra/testsuite/test_raster_algebra.py
    M temporal/t.vect.algebra/testsuite/test_vector_algebra.py
    M vector/v.extract/testsuite/test_v_extract.py
    M vector/v.select/testsuite/test_v_select.py
    M vector/v.vect.stats/testsuite/test_vect_stats.py

  Log Message:
  -----------
  Update to Black 21.5b1 (#1605)

* Apply Black to 3 previously excluded files (due to now resolved bugs in Black).
* Black now modifies one-line docstrings which have leading or trailing spaces.
* Remove empty docstrings (remove, replace by pass, replace by text).
* Add Python 3.9 to target versions.
* Properly exclude bin and dist dirs.
* Add first line to test data function docstring to have a better docstring.
* Exclude pygrass/utils which contains an R-string lowercased to r in Black 21.5b1.




More information about the grass-commit mailing list