[GRASS-git] [OSGeo/grass] 74b25b: Fix new RUF031 rule violations (incorrectly-parent...

Edouard Choinière noreply at github.com
Mon Aug 12 17:55:16 PDT 2024


  Branch: refs/heads/renovate/ruff
  Home:   https://github.com/OSGeo/grass
  Commit: 74b25bcfc9a6cabc01af05e3ed67feeae7c15fae
      https://github.com/OSGeo/grass/commit/74b25bcfc9a6cabc01af05e3ed67feeae7c15fae
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2024-08-13 (Tue, 13 Aug 2024)

  Changed paths:
    M gui/wxpython/timeline/frame.py
    M python/grass/imaging/images2gif.py
    M python/grass/pygrass/raster/category.py

  Log Message:
  -----------
  Fix new RUF031 rule violations (incorrectly-parenthesized-tuple-in-subscript)


  Commit: 3368621c4234ab1c9c69bf1c3fa0b60af7680012
      https://github.com/OSGeo/grass/commit/3368621c4234ab1c9c69bf1c3fa0b60af7680012
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2024-08-13 (Tue, 13 Aug 2024)

  Changed paths:
    M python/grass/pygrass/raster/buffer.py
    M python/grass/pygrass/vector/geometry.py
    M python/grass/pygrass/vector/testsuite/test_vector.py
    M scripts/d.rast.leg/d.rast.leg.py
    M scripts/v.in.wfs/v.in.wfs.py

  Log Message:
  -----------
  Fix new ruff errors for C409: Unnecessary list comprehension passed to `tuple()` (rewrite as a generator)


Compare: https://github.com/OSGeo/grass/compare/ac593aa50f8a...3368621c4234

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