[GRASS-git] [OSGeo/grass] 91cf40: CQ: Fix Ruff SIM223: Use `False` instead of `False...

Edouard Choinière noreply at github.com
Sun Oct 26 17:54:38 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 91cf407049380643591a95035289812460a27617
      https://github.com/OSGeo/grass/commit/91cf407049380643591a95035289812460a27617
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2025-10-27 (Mon, 27 Oct 2025)

  Changed paths:
    M pyproject.toml
    M raster/r.mapcalc/testsuite/test_nmedian_bug_3296.py
    M raster/r.mapcalc/testsuite/test_row_above_below_bug.py

  Log Message:
  -----------
  CQ: Fix Ruff SIM223: Use `False` instead of `False and ...` (#6556)

Ruff rule: https://docs.astral.sh/ruff/rules/expr-and-false/

Ignored the rule for the two violations in the code, to keep the context of the original condition, but enable checking the rule for the project



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