[GRASS-git] [OSGeo/grass] 5eca6d: style: Fix os-stat (PTH116) by replacing os.stat()...

Edouard Choinière noreply at github.com
Sat Sep 28 12:12:00 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 5eca6d67a20d8b4d868952e57340f1beacf569d1
      https://github.com/OSGeo/grass/commit/5eca6d67a20d8b4d868952e57340f1beacf569d1
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2024-09-28 (Sat, 28 Sep 2024)

  Changed paths:
    M gui/wxpython/core/watchdog.py
    M gui/wxpython/gui_core/preferences.py
    M imagery/i.gensig/testsuite/test_i_gensig.py
    M lib/imagery/testsuite/test_imagery_sigfile.py
    M lib/imagery/testsuite/test_imagery_sigsetfile.py
    M pyproject.toml
    M python/grass/app/data.py
    M python/grass/grassdb/checks.py

  Log Message:
  -----------
  style: Fix os-stat (PTH116) by replacing os.stat() calls with pathlib (#4412)

* style: Fix os-stat (PTH116) by replacing os.stat() calls with pathlib

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

* Change remaining os.stat() usages

* Fix Path join with a string



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