[GRASS-git] [OSGeo/grass] 2ae07b: style(gui): Fixes literal-membership (PLR6201) (#3...
Edouard Choinière
noreply at github.com
Sun Jun 30 17:31:09 PDT 2024
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: 2ae07bc17e275949c7963eac3659f883bffb70da
https://github.com/OSGeo/grass/commit/2ae07bc17e275949c7963eac3659f883bffb70da
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/controller.py
M gui/wxpython/animation/data.py
M gui/wxpython/animation/dialogs.py
M gui/wxpython/core/gcmd.py
M gui/wxpython/core/gconsole.py
M gui/wxpython/core/globalvar.py
M gui/wxpython/core/menutree.py
M gui/wxpython/core/render.py
M gui/wxpython/core/settings.py
M gui/wxpython/core/treemodel.py
M gui/wxpython/core/utils.py
M gui/wxpython/core/workspace.py
M gui/wxpython/core/ws.py
M gui/wxpython/datacatalog/catalog.py
M gui/wxpython/datacatalog/tree.py
M gui/wxpython/dbmgr/sqlbuilder.py
M gui/wxpython/gmodeler/canvas.py
M gui/wxpython/gmodeler/model.py
M gui/wxpython/gmodeler/panels.py
M gui/wxpython/gui_core/forms.py
M gui/wxpython/gui_core/goutput.py
M gui/wxpython/gui_core/gselect.py
M gui/wxpython/gui_core/preferences.py
M gui/wxpython/gui_core/widgets.py
M gui/wxpython/history/browser.py
M gui/wxpython/iscatt/controllers.py
M gui/wxpython/iscatt/core_c.py
M gui/wxpython/iscatt/iscatt_core.py
M gui/wxpython/iscatt/toolbars.py
M gui/wxpython/lmgr/frame.py
M gui/wxpython/lmgr/layertree.py
M gui/wxpython/lmgr/workspace.py
M gui/wxpython/location_wizard/wizard.py
M gui/wxpython/main_window/frame.py
M gui/wxpython/mapdisp/frame.py
M gui/wxpython/mapdisp/main.py
M gui/wxpython/mapdisp/statusbar.py
M gui/wxpython/mapwin/buffered.py
M gui/wxpython/modules/colorrules.py
M gui/wxpython/modules/import_export.py
M gui/wxpython/nviz/mapwindow.py
M gui/wxpython/nviz/preferences.py
M gui/wxpython/nviz/tools.py
M gui/wxpython/nviz/workspace.py
M gui/wxpython/psmap/dialogs.py
M gui/wxpython/psmap/frame.py
M gui/wxpython/psmap/instructions.py
M gui/wxpython/rlisetup/sampling_frame.py
M gui/wxpython/rlisetup/wizard.py
M gui/wxpython/startup/locdownload.py
M gui/wxpython/tplot/frame.py
M gui/wxpython/vdigit/mapwindow.py
M gui/wxpython/vdigit/wxdisplay.py
M gui/wxpython/vnet/dialogs.py
M gui/wxpython/vnet/vnet_core.py
M gui/wxpython/vnet/vnet_data.py
M gui/wxpython/web_services/cap_interface.py
M gui/wxpython/wxgui.py
M gui/wxpython/wxplot/base.py
Log Message:
-----------
style(gui): Fixes literal-membership (PLR6201) (#3952)
* style(gui/wxpython): Fixes literal-membership (PLR6201)
Concerns Pylint rule "use-set-for-membership / R6201"
Using `ruff check --output-format=concise --select PLR6201 --preview --unsafe-fixes --fix gui/`.
* style: Apply single element in set formatting
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