[GRASS-git] [OSGeo/grass] 631d74: CQ: Fix PTH112: `os.path.isdir()` should be repla...

Edouard Choinière noreply at github.com
Wed Nov 12 05:25:27 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 631d74bc6dbc09177e9c50eaf5debf9b107f7401
      https://github.com/OSGeo/grass/commit/631d74bc6dbc09177e9c50eaf5debf9b107f7401
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2025-11-12 (Wed, 12 Nov 2025)

  Changed paths:
    M gui/wxpython/datacatalog/tree.py
    M gui/wxpython/image2target/ii2t_gis_set.py
    M gui/wxpython/image2target/ii2t_manager.py
    M gui/wxpython/lmgr/workspace.py
    M lib/init/grass.py
    M pyproject.toml
    M python/grass/app/runtime.py
    M python/grass/app/tests/grass_app_resource_paths_test.py
    M python/grass/pygrass/gis/__init__.py
    M python/grass/pygrass/modules/grid/grid.py
    M python/grass/pygrass/utils.py
    M python/grass/script/setup.py
    M python/grass/script/utils.py
    M python/grass/utils/download.py
    M scripts/g.download.project/g.download.project.py
    M scripts/g.extension/g.extension.py
    M scripts/v.db.reconnect.all/v.db.reconnect.all.py

  Log Message:
  -----------
  CQ: Fix PTH112:  `os.path.isdir()` should be replaced by `Path.is_dir()` (#6603)

* CQ: Fix Ruff PTH112:  `os.path.isdir()` should be replaced by `Path.is_dir()`

Ruff rule: https://docs.astral.sh/ruff/rules/os-path-isdir/

* Apply suggestions from code review

Co-authored-by: Stefan Blumentrath <stefan.blumentrath at gmx.de>

---------

Co-authored-by: Stefan Blumentrath <stefan.blumentrath at gmx.de>



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