[GRASS-git] [OSGeo/grass] 848b74: style: Fix List index lookup in `enumerate()` loop...

Edouard Choinière noreply at github.com
Sun Sep 8 11:27:18 PDT 2024


  Branch: refs/heads/renovate/ruff
  Home:   https://github.com/OSGeo/grass
  Commit: 848b74eb81c09afbeee09c0c1c42eb4bbf39f894
      https://github.com/OSGeo/grass/commit/848b74eb81c09afbeee09c0c1c42eb4bbf39f894
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2024-09-08 (Sun, 08 Sep 2024)

  Changed paths:
    M gui/wxpython/core/workspace.py

  Log Message:
  -----------
  style: Fix List index lookup in `enumerate()` loop (PLR1736) in __writeNvizState


  Commit: d05f73e6f068f35945f3a9e74f2475dc6e3299d6
      https://github.com/OSGeo/grass/commit/d05f73e6f068f35945f3a9e74f2475dc6e3299d6
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2024-09-08 (Sun, 08 Sep 2024)

  Changed paths:
    M gui/wxpython/iscatt/iscatt_core.py

  Log Message:
  -----------
  style: Fix Unnecessary lookup of dictionary value by key (PLR1733) in iscatt_core.py


  Commit: 1ef7f02117e080a6a6b8eac0fc822ce774d369b3
      https://github.com/OSGeo/grass/commit/1ef7f02117e080a6a6b8eac0fc822ce774d369b3
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2024-09-08 (Sun, 08 Sep 2024)

  Changed paths:
    M gui/wxpython/core/workspace.py

  Log Message:
  -----------
  style: Fix `enumerate` index is unused, use `for plane in constants` instead (FURB148) in __writeNvizState


Compare: https://github.com/OSGeo/grass/compare/9faebfea3460...1ef7f02117e0

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