[GRASS-git] [OSGeo/grass] 70fd63: style: Fix RUF055 [*] Plain string pattern passed ...

Edouard Choinière noreply at github.com
Sat Nov 30 06:35:10 PST 2024


  Branch: refs/heads/renovate/ruff
  Home:   https://github.com/OSGeo/grass
  Commit: 70fd6374530c82c39f6680aa98c8db19e59e6351
      https://github.com/OSGeo/grass/commit/70fd6374530c82c39f6680aa98c8db19e59e6351
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2024-11-29 (Fri, 29 Nov 2024)

  Changed paths:
    M gui/wxpython/photo2image/ip2i_manager.py

  Log Message:
  -----------
  style: Fix RUF055 [*] Plain string pattern passed to `re` function


  Commit: 98af2b5bf75d18741f9fbfec12f0df5ef4b42029
      https://github.com/OSGeo/grass/commit/98af2b5bf75d18741f9fbfec12f0df5ef4b42029
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2024-11-30 (Sat, 30 Nov 2024)

  Changed paths:
    M man/build_manual_gallery.py
    M pyproject.toml
    M python/grass/grassdb/checks.py
    M scripts/r.pack/r.pack.py

  Log Message:
  -----------
  style: Fix or ignore os-listdir (PTH208)
Use `pathlib.Path.iterdir()` instead.
Ruff rule: https://docs.astral.sh/ruff/rules/os-listdir/


Compare: https://github.com/OSGeo/grass/compare/3e5d84fe77a0...98af2b5bf75d

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