[GRASS-git] [OSGeo/grass] f4a407: style: Fix incorrect-dict-iterator (PERF102) (#4007)

Edouard Choinière noreply at github.com
Mon Jul 8 21:36:12 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: f4a407fdc67841d25a1268f10cf7cf0e63319a51
      https://github.com/OSGeo/grass/commit/f4a407fdc67841d25a1268f10cf7cf0e63319a51
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M gui/wxpython/dbmgr/sqlbuilder.py
    M gui/wxpython/iscatt/controllers.py
    M gui/wxpython/location_wizard/wizard.py
    M gui/wxpython/mapwin/base.py
    M pyproject.toml
    M python/grass/jupyter/seriesmap.py
    M python/grass/jupyter/tests/seriesmap_test.py
    M python/grass/jupyter/tests/timeseriesmap_test.py
    M python/grass/pygrass/tests/benchmark.py
    M python/grass/script/testsuite/test_utils.py
    M scripts/v.pack/v.pack.py

  Log Message:
  -----------
  style: Fix incorrect-dict-iterator (PERF102) (#4007)

When iterating over a dictionary with dict.items() but discarding either the values or the keys, dict.values() or dict.keys() should be used instead



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