[GRASS-git] [OSGeo/grass] 0aaa18: style: fix ruff rules RUF019 and PTH104 (#7693)

KBlumentrath noreply at github.com
Wed Jul 15 23:43:11 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 0aaa18e7c0974244ec5564fc52c6495e2b426f59
      https://github.com/OSGeo/grass/commit/0aaa18e7c0974244ec5564fc52c6495e2b426f59
  Author: KBlumentrath <k.o.blumentrath at gmail.com>
  Date:   2026-07-16 (Thu, 16 Jul 2026)

  Changed paths:
    M gui/wxpython/core/menutree.py
    M gui/wxpython/core/utils.py
    M gui/wxpython/gmodeler/model.py
    M gui/wxpython/gmodeler/panels.py
    M gui/wxpython/image2target/ii2t_gis_set.py
    M gui/wxpython/rlisetup/frame.py
    M man/build.py
    M man/build_rest.py
    M pyproject.toml
    M python/grass/grassdb/manage.py
    M python/grass/gunittest/reporters.py
    M python/grass/pygrass/modules/interface/flag.py
    M python/grass/pygrass/modules/interface/module.py
    M python/grass/pygrass/modules/interface/parameter.py
    M python/grass/pygrass/modules/interface/read.py
    M python/grass/script/core.py
    M scripts/g.extension/g.extension.py
    M scripts/r.in.srtm/r.in.srtm.py

  Log Message:
  -----------
  style: fix ruff rules RUF019 and PTH104 (#7693)

* ruff 019 unnecessary key check

* PTH104 os rename

* checks: Remove fixed rules from ruff ignore list

* python: Add typing for investigated functions and dependent ones


---------

Co-authored-by: Edouard Choinière <27212526+echoix at users.noreply.github.com>



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