[GRASS-git] [OSGeo/grass] b2b2f9: style: Ignore R1721: Unnecessary use of a comprehe...

Edouard Choinière noreply at github.com
Fri Dec 27 15:14:29 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: b2b2f93b282f06537e4c775bcc85c79998b8a56b
      https://github.com/OSGeo/grass/commit/b2b2f93b282f06537e4c775bcc85c79998b8a56b
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2024-12-27 (Fri, 27 Dec 2024)

  Changed paths:
    M gui/wxpython/lmgr/giface.py
    M pyproject.toml
    M python/grass/pygrass/gis/__init__.py

  Log Message:
  -----------
  style: Ignore R1721: Unnecessary use of a comprehension, use list(self) instead. (unnecessary-comprehension) (#4894)

Pylint rule: https://pylint.readthedocs.io/en/latest/user_guide/messages/refactor/unnecessary-comprehension.html

These two occurrences already disabled an equivalent Ruff rule coming from flake8, as there was a recursion issue



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