[GRASS-git] [OSGeo/grass] 4616de: style: Fix unnecessary-cast-to-int (RUF046)

Edouard Choinière noreply at github.com
Thu Dec 5 10:13:03 PST 2024


  Branch: refs/heads/renovate/ruff
  Home:   https://github.com/OSGeo/grass
  Commit: 4616def65309b0d5ec7b0391f4f0cd4da7d2929e
      https://github.com/OSGeo/grass/commit/4616def65309b0d5ec7b0391f4f0cd4da7d2929e
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2024-12-05 (Thu, 05 Dec 2024)

  Changed paths:
    M display/d.mon/render_cmd.py
    M gui/wxpython/core/units.py
    M gui/wxpython/core/utils.py
    M gui/wxpython/iscatt/frame.py
    M gui/wxpython/iscatt/plots.py
    M gui/wxpython/psmap/utils.py
    M scripts/r.in.wms/wms_drv.py

  Log Message:
  -----------
  style: Fix unnecessary-cast-to-int (RUF046)

Ruff rule: https://docs.astral.sh/ruff/rules/unnecessary-cast-to-int/


  Commit: 1beeab213fca29d9ecf8054d143843d29abe5fd4
      https://github.com/OSGeo/grass/commit/1beeab213fca29d9ecf8054d143843d29abe5fd4
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2024-12-05 (Thu, 05 Dec 2024)

  Changed paths:
    M gui/wxpython/core/render.py
    M gui/wxpython/vdigit/preferences.py
    M python/grass/pygrass/messages/__init__.py
    M python/grass/script/utils.py
    M python/grass/temporal/gui_support.py
    M python/grass/temporal/spatio_temporal_relationships.py
    M python/grass/temporal/unit_tests.py
    M temporal/t.rast.export/t.rast.export.py
    M temporal/t.rast.gapfill/t.rast.gapfill.py
    M temporal/t.vect.export/t.vect.export.py

  Log Message:
  -----------
  style: Fix used-dummy-variable (RUF052)

Ruff rule: https://docs.astral.sh/ruff/rules/used-dummy-variable/


Compare: https://github.com/OSGeo/grass/compare/65b5feead5cc...1beeab213fca

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