[GRASS-git] [OSGeo/grass] ea0185: CI(deps): Update ruff to v0.8.3 (#4833)

renovate[bot] noreply at github.com
Sat Dec 14 07:45:30 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: ea0185f2f180a4322d4ff683e5bb8c368ef3062b
      https://github.com/OSGeo/grass/commit/ea0185f2f180a4322d4ff683e5bb8c368ef3062b
  Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  Date:   2024-12-14 (Sat, 14 Dec 2024)

  Changed paths:
    M .github/workflows/python-code-quality.yml
    M .pre-commit-config.yaml
    M gui/wxpython/core/utils.py
    M python/grass/pydispatch/signal.py

  Log Message:
  -----------
  CI(deps): Update ruff to v0.8.3 (#4833)

* CI(deps): Update ruff to v0.8.3

* style: Fix if-key-in-dict-del (RUF051)

Ruff rule: https://docs.astral.sh/ruff/rules/if-key-in-dict-del/

When a dictionary's pop() method is used with the second argument (default value), and the second parameter is None, it removes the key from the dict, but doesn't raise a `KeyError` if it didn't exist. The value returned is None.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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