[GRASS-git] [OSGeo/grass-addons] 654832: style: Fix format-in-get-text-func-call (INT002) i...

Edouard Choinière noreply at github.com
Sat Feb 8 16:55:54 PST 2025


  Branch: refs/heads/grass8
  Home:   https://github.com/OSGeo/grass-addons
  Commit: 6548326b4b70874b01b939d611326afb26783e10
      https://github.com/OSGeo/grass-addons/commit/6548326b4b70874b01b939d611326afb26783e10
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2025-02-08 (Sat, 08 Feb 2025)

  Changed paths:
    M src/raster/r.estimap.recreation/estimap_recreation/components.py
    M src/raster/r.estimap.recreation/estimap_recreation/demand.py
    M src/raster/r.estimap.recreation/estimap_recreation/distance.py
    M src/raster/r.estimap.recreation/estimap_recreation/grassy_utilities.py
    M src/raster/r.estimap.recreation/estimap_recreation/land_component.py
    M src/raster/r.estimap.recreation/estimap_recreation/main.py
    M src/raster/r.estimap.recreation/estimap_recreation/mobility.py
    M src/raster/r.estimap.recreation/estimap_recreation/natural_component.py
    M src/raster/r.estimap.recreation/estimap_recreation/normalisation.py
    M src/raster/r.estimap.recreation/estimap_recreation/normalise_land.py
    M src/raster/r.estimap.recreation/estimap_recreation/supply_and_use.py

  Log Message:
  -----------
  style: Fix format-in-get-text-func-call (INT002) in r.estimap.recreation (#1302)

Fixes: `format` method argument is resolved before function call; consider `_("string %s") % arg`

Ruff rule: https://docs.astral.sh/ruff/rules/format-in-get-text-func-call/



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass-addons/settings/notifications


More information about the grass-commit mailing list