[GRASS-git] [OSGeo/grass] 0cc7cb: style: Fixes some unnecessary-lambda (PLW0108) (#3...

Edouard Choinière noreply at github.com
Mon Jul 1 19:41:57 PDT 2024


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

  Changed paths:
    M gui/wxpython/animation/frame.py
    M gui/wxpython/gmodeler/dialogs.py
    M gui/wxpython/gmodeler/panels.py
    M gui/wxpython/gui_core/forms.py
    M gui/wxpython/gui_core/menu.py
    M gui/wxpython/gui_core/prompt.py
    M gui/wxpython/gui_core/widgets.py
    M gui/wxpython/history/tree.py
    M gui/wxpython/iclass/frame.py
    M gui/wxpython/lmgr/frame.py
    M gui/wxpython/lmgr/layertree.py
    M gui/wxpython/main_window/frame.py
    M gui/wxpython/mapdisp/frame.py
    M gui/wxpython/mapdisp/main.py
    M gui/wxpython/mapswipe/frame.py
    M gui/wxpython/rdigit/g.gui.rdigit.py
    M gui/wxpython/vdigit/g.gui.vdigit.py

  Log Message:
  -----------
  style: Fixes some unnecessary-lambda (PLW0108) (#3956)

Concerns Pylint rule "unnecessary-lambda / W0108"

Using `ruff check --output-format=concise --select PLW0108 --preview --fix --unsafe-fixes`.

Didn't apply to cases where it wasn't clear if it was safe



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