[GRASS-git] [OSGeo/grass] ba78f6: style: Fix unnecessary-placeholder (PIE790) (#4132)

Edouard Choinière noreply at github.com
Sun Aug 4 16:14:13 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: ba78f6fa659cdda86605d3221b5b00ce047d5f11
      https://github.com/OSGeo/grass/commit/ba78f6fa659cdda86605d3221b5b00ce047d5f11
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2024-08-04 (Sun, 04 Aug 2024)

  Changed paths:
    M gui/wxpython/core/giface.py
    M gui/wxpython/dbmgr/base.py
    M gui/wxpython/dbmgr/dialogs.py
    M gui/wxpython/gcp/manager.py
    M gui/wxpython/gmodeler/dialogs.py
    M gui/wxpython/gmodeler/model.py
    M gui/wxpython/gui_core/dialogs.py
    M gui/wxpython/gui_core/forms.py
    M gui/wxpython/gui_core/widgets.py
    M gui/wxpython/image2target/ii2t_manager.py
    M gui/wxpython/iscatt/iscatt_core.py
    M gui/wxpython/mapdisp/properties.py
    M gui/wxpython/mapswipe/frame.py
    M gui/wxpython/mapswipe/toolbars.py
    M gui/wxpython/modules/import_export.py
    M gui/wxpython/nviz/mapwindow.py
    M gui/wxpython/photo2image/ip2i_manager.py
    M gui/wxpython/psmap/dialogs.py
    M gui/wxpython/psmap/instructions.py
    M gui/wxpython/rlisetup/wizard.py
    M gui/wxpython/vdigit/dialogs.py
    M gui/wxpython/vdigit/preferences.py
    M pyproject.toml
    M python/grass/pygrass/raster/history.py
    M python/grass/pygrass/vector/geometry.py
    M python/grass/pygrass/vector/testsuite/test_geometry.py
    M python/grass/temporal/abstract_map_dataset.py
    M python/grass/temporal/testsuite/unittests_temporal_raster_algebra_spatial_topology.py

  Log Message:
  -----------
  style: Fix unnecessary-placeholder (PIE790) (#4132)

Ruff rule: https://docs.astral.sh/ruff/rules/unnecessary-placeholder/

Even a docstring is enough to not need a placeholder, as it is a statement.



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