[GRASS-git] [OSGeo/grass] 8f3b89: style: Fix pointless-string-statement / W0105 (#4872)

Edouard Choinière noreply at github.com
Mon Dec 23 03:46:34 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 8f3b891c8ba1eab82556d462ed7bb1afe233ea43
      https://github.com/OSGeo/grass/commit/8f3b891c8ba1eab82556d462ed7bb1afe233ea43
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2024-12-23 (Mon, 23 Dec 2024)

  Changed paths:
    M gui/wxpython/core/globalvar.py
    M gui/wxpython/gcp/manager.py
    M gui/wxpython/gui_core/preferences.py
    M gui/wxpython/gui_core/vselect.py
    M gui/wxpython/image2target/ii2t_manager.py
    M gui/wxpython/iscatt/iscatt_core.py
    M gui/wxpython/iscatt/plots.py
    M gui/wxpython/photo2image/ip2i_manager.py
    M gui/wxpython/rlisetup/sampling_frame.py
    M python/grass/pygrass/gis/__init__.py
    M python/grass/pygrass/gis/region.py
    M python/grass/pygrass/raster/__init__.py
    M python/grass/pygrass/raster/abstract.py
    M python/grass/pygrass/raster/testsuite/test_category.py
    M python/grass/pygrass/raster/testsuite/test_history.py
    M python/grass/pygrass/raster/testsuite/test_numpy.py
    M python/grass/pygrass/raster/testsuite/test_pygrass_raster.py
    M python/grass/pygrass/raster/testsuite/test_raster_img.py
    M python/grass/pygrass/raster/testsuite/test_raster_region.py
    M python/grass/pygrass/utils.py
    M python/grass/pygrass/vector/__init__.py
    M python/grass/pygrass/vector/find.py
    M python/grass/pygrass/vector/geometry.py
    M python/grass/pygrass/vector/table.py
    M python/grass/pygrass/vector/testsuite/test_geometry.py
    M python/grass/pygrass/vector/testsuite/test_geometry_attrs.py
    M python/grass/pygrass/vector/testsuite/test_table.py
    M python/grass/pygrass/vector/testsuite/test_vector.py
    M python/grass/pygrass/vector/testsuite/test_vector3d.py
    M python/grass/temporal/testsuite/unittests_temporal_raster_algebra_grs.py
    M scripts/g.extension/g.extension.py
    M temporal/t.rast.import/testsuite/test_temporal_rast_import.py

  Log Message:
  -----------
  style: Fix pointless-string-statement / W0105 (#4872)

* style: Fix pointless-string-statement / W0105

Change useless string statement with a comment

Pylint rule: https://pylint.readthedocs.io/en/latest/user_guide/messages/warning/pointless-string-statement.html

* Update plots.py



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list