[GRASS-git] [OSGeo/grass] 39c2d2: style: Fix RUF056 [*] Avoid providing a falsy fall...

Edouard Choinière noreply at github.com
Thu Jan 2 06:44:57 PST 2025


  Branch: refs/heads/renovate/ruff
  Home:   https://github.com/OSGeo/grass
  Commit: 39c2d289f51e12d3c5d42ed772c63bedccffa837
      https://github.com/OSGeo/grass/commit/39c2d289f51e12d3c5d42ed772c63bedccffa837
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M python/grass/pygrass/tests/benchmark.py
    M python/grass/script/core.py

  Log Message:
  -----------
  style: Fix RUF056 [*] Avoid providing a falsy fallback to `dict.get()` in boolean test positions. The default fallback `None` is already falsy.


  Commit: ba61738267e9852fcbf7ec428ab411ae117d18e1
      https://github.com/OSGeo/grass/commit/ba61738267e9852fcbf7ec428ab411ae117d18e1
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M python/grass/gunittest/checkers.py

  Log Message:
  -----------
  style: Fix UP006 Use `collections.abc.Callable` instead of `Callable` for type annotation


  Commit: 3c35e4c365833f5d1a03ad13564e3c0d5bfa3864
      https://github.com/OSGeo/grass/commit/3c35e4c365833f5d1a03ad13564e3c0d5bfa3864
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M python/grass/gunittest/checkers.py

  Log Message:
  -----------
  Fix some typos in grass.gunittest.checkers


Compare: https://github.com/OSGeo/grass/compare/09008e285b29...3c35e4c36583

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