[GRASS-git] [OSGeo/grass] 51bc2c: style: Fix dict-index-missing-items (PLC0206) (#4138)

Edouard Choinière noreply at github.com
Wed Aug 7 09:06:51 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 51bc2c3dd6ea4a0f9b21287cdf6dac2827963c11
      https://github.com/OSGeo/grass/commit/51bc2c3dd6ea4a0f9b21287cdf6dac2827963c11
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2024-08-07 (Wed, 07 Aug 2024)

  Changed paths:
    M gui/wxpython/datacatalog/tree.py
    M gui/wxpython/gmodeler/model.py
    M pyproject.toml
    M python/grass/temporal/temporal_algebra.py
    M python/grass/temporal/temporal_granularity.py
    M scripts/i.pansharpen/i.pansharpen.py
    M scripts/r.pack/r.pack.py
    M temporal/t.unregister/t.unregister.py
    M vector/v.univar/testsuite/test_v_univar.py

  Log Message:
  -----------
  style: Fix dict-index-missing-items (PLC0206) (#4138)

* style: Fix dict-index-missing-items (PLC0206)
Ruff rule: https://docs.astral.sh/ruff/rules/dict-index-missing-items/
9 instances solved

* Use inline ignore for vector/v.univar/testsuite/test_v_univar.py

* Update r.pack.py

Co-authored-by: Stefan Blumentrath <stefan.blumentrath at gmx.de>

---------

Co-authored-by: Stefan Blumentrath <stefan.blumentrath at gmx.de>



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