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

Markus Neteler noreply at github.com
Thu Jun 10 09:26:30 PDT 2021


  Branch: refs/heads/previewbranch_8_0
  Home:   https://github.com/OSGeo/grass
  Commit: bac519d6453db8adf49cc215407aac08fe72c117
      https://github.com/OSGeo/grass/commit/bac519d6453db8adf49cc215407aac08fe72c117
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2021-06-10 (Thu, 10 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.


  Commit: 649d2ed5887a2036d360de5e8bc1a4dbecb39533
      https://github.com/OSGeo/grass/commit/649d2ed5887a2036d360de5e8bc1a4dbecb39533
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2021-06-10 (Thu, 10 Jun 2021)

  Changed paths:
    M .github/workflows/test_thorough.sh
    A .gunittest.cfg
    M python/grass/docs/src/gunittest_running_tests.rst
    M python/grass/gunittest/invoker.py
    M python/grass/gunittest/loader.py
    M python/grass/gunittest/main.py
    M python/grass/gunittest/reporters.py

  Log Message:
  -----------
  gunittest: Exclude broken tests (#1587)

* Adds configuration file to gunittest which can contain list of files to exclude.
* Excluding all currently broken tests and one sometimes failing doctests.
* Print line with failed test name in pytest style.
* Include .git in hardcoded excluded dirs.
* Make the default min-success 100% (assuming no fluctuations with exclusions).
* No tests found ends with an error message, not traceback.
* Increase min success to 100% in CI.


  Commit: 0b15327a7c6ca0a7a85528bb34d5e5164c0c963d
      https://github.com/OSGeo/grass/commit/0b15327a7c6ca0a7a85528bb34d5e5164c0c963d
  Author: Markus Neteler <neteler at gmail.com>
  Date:   2021-06-10 (Thu, 10 Jun 2021)

  Changed paths:
    M Dockerfile

  Log Message:
  -----------
  Dockerfile: only create versionless link when needed


  Commit: 0dc7be79c6af96e6722b1ebf4c5f3d801b85f4b3
      https://github.com/OSGeo/grass/commit/0dc7be79c6af96e6722b1ebf4c5f3d801b85f4b3
  Author: Markus Neteler <neteler at gmail.com>
  Date:   2021-06-10 (Thu, 10 Jun 2021)

  Changed paths:
    M docker/alpine/Dockerfile_alpine
    M docker/alpine/Dockerfile_alpine_latest
    M docker/debian/Dockerfile_debian_pdal
    M docker/testdata/test_grass_session.py
    M docker/ubuntu/Dockerfile_ubuntu_pdal

  Log Message:
  -----------
  Dockerfiles: fix broken grass-session tests (#1623)

Workaround for grass-session which requires G8 related updates


  Commit: 31a164e7179b5c37d04271d13b23912b632d5da1
      https://github.com/OSGeo/grass/commit/31a164e7179b5c37d04271d13b23912b632d5da1
  Author: Markus Neteler <neteler at gmail.com>
  Date:   2021-06-10 (Thu, 10 Jun 2021)

  Changed paths:
    M docker/alpine/Dockerfile_alpine
    M docker/debian/Dockerfile_debian_pdal
    M docker/ubuntu/Dockerfile_ubuntu_pdal

  Log Message:
  -----------
  Dockerfiles: remove workaround for grass-session (#1624)

Partial revert of #1623


  Commit: 98a439f03503e4632af7320ea2aa8e1073dc8cfd
      https://github.com/OSGeo/grass/commit/98a439f03503e4632af7320ea2aa8e1073dc8cfd
  Author: Markus Neteler <neteler at gmail.com>
  Date:   2021-06-10 (Thu, 10 Jun 2021)

  Changed paths:
    M docker/alpine/Dockerfile_alpine
    M docker/debian/Dockerfile_debian_pdal
    M docker/ubuntu/Dockerfile_ubuntu_pdal

  Log Message:
  -----------
  Dockerfile: fix broken lib link (#1625)

* Dockerfile: fix broken lib link


  Commit: 8ab377ef7cbe59760ff1c1b7426529f9fcafa5fc
      https://github.com/OSGeo/grass/commit/8ab377ef7cbe59760ff1c1b7426529f9fcafa5fc
  Author: Markus Neteler <neteler at gmail.com>
  Date:   2021-06-10 (Thu, 10 Jun 2021)

  Changed paths:
    M docker/debian/Dockerfile_debian_pdal
    M docker/ubuntu/Dockerfile_ubuntu_pdal

  Log Message:
  -----------
  Dockerfile Ubuntu/Debian: another link fix (#1626)


  Commit: 5d59842e096b863304d75d7b1cfb9898bf6a9690
      https://github.com/OSGeo/grass/commit/5d59842e096b863304d75d7b1cfb9898bf6a9690
  Author: Markus Neteler <neteler at gmail.com>
  Date:   2021-06-10 (Thu, 10 Jun 2021)

  Changed paths:
    M docker/ubuntu/Dockerfile_ubuntu_pdal

  Log Message:
  -----------
  Dockerfile Ubuntu: versionless link fix


  Commit: 9409e3982bcc6688f4d177514aca283f032e2e16
      https://github.com/OSGeo/grass/commit/9409e3982bcc6688f4d177514aca283f032e2e16
  Author: Markus Neteler <neteler at gmail.com>
  Date:   2021-06-10 (Thu, 10 Jun 2021)

  Changed paths:
    M docker/debian/Dockerfile_debian_pdal

  Log Message:
  -----------
  Dockerfile Debian: versionless link fix


Compare: https://github.com/OSGeo/grass/compare/a1848102f710...9409e3982bcc


More information about the grass-commit mailing list