[GRASS-git] [OSGeo/grass] 98222a: style: Fix various FURB (small count) (#4046)

Edouard Choinière noreply at github.com
Sat Jul 13 14:56:30 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 98222a25c92ed58db7c6cebaac27830771c53b0c
      https://github.com/OSGeo/grass/commit/98222a25c92ed58db7c6cebaac27830771c53b0c
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2024-07-13 (Sat, 13 Jul 2024)

  Changed paths:
    M gui/wxpython/animation/controller.py
    M gui/wxpython/animation/temporal_manager.py
    M gui/wxpython/animation/utils.py
    M gui/wxpython/core/render.py
    M gui/wxpython/core/toolboxes.py
    M gui/wxpython/mapwin/buffered.py
    M gui/wxpython/psmap/dialogs.py
    M lib/init/grass.py
    M pyproject.toml
    M python/grass/grassdb/history.py
    M scripts/g.extension/g.extension.py

  Log Message:
  -----------
  style: Fix various FURB (small count) (#4046)

* style: Fix reimplemented-starmap (FURB140)

Ruff rule: https://docs.astral.sh/ruff/rules/reimplemented-starmap/

* style: Fix delete-full-slice (FURB131)

Ruff rule: https://docs.astral.sh/ruff/rules/delete-full-slice/

* style: Fix unnecessary-enumerate (FURB148)

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

* style: Fix for-loop-set-mutations (FURB142)

Ruff rule: https://docs.astral.sh/ruff/rules/for-loop-set-mutations

* style: Fix single-item-membership-test (FURB171)

Ruff rule: https://docs.astral.sh/ruff/rules/single-item-membership-test



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