[GRASS-git] [OSGeo/grass] 3f9830: gui: Use comprehensions when initializing lists, d...
Edouard Choinière
noreply at github.com
Sat Jan 4 15:19:18 PST 2025
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: 3f98304d0d7bbc71727d07f3530370bcd7cdbbde
https://github.com/OSGeo/grass/commit/3f98304d0d7bbc71727d07f3530370bcd7cdbbde
Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
Date: 2025-01-04 (Sat, 04 Jan 2025)
Changed paths:
M gui/wxpython/animation/data.py
M gui/wxpython/animation/nviztask.py
M gui/wxpython/animation/temporal_manager.py
M gui/wxpython/animation/utils.py
M gui/wxpython/core/layerlist.py
M gui/wxpython/core/render.py
M gui/wxpython/core/settings.py
M gui/wxpython/core/utils.py
M gui/wxpython/dbmgr/vinfo.py
M gui/wxpython/gcp/manager.py
M gui/wxpython/gmodeler/dialogs.py
M gui/wxpython/gmodeler/model.py
M gui/wxpython/gui_core/dialogs.py
M gui/wxpython/gui_core/forms.py
M gui/wxpython/gui_core/gselect.py
M gui/wxpython/gui_core/query.py
M gui/wxpython/gui_core/toolbars.py
M gui/wxpython/history/browser.py
M gui/wxpython/iclass/frame.py
M gui/wxpython/image2target/ii2t_manager.py
M gui/wxpython/iscatt/controllers.py
M gui/wxpython/iscatt/dialogs.py
M gui/wxpython/iscatt/iscatt_core.py
M gui/wxpython/iscatt/plots.py
M gui/wxpython/lmgr/frame.py
M gui/wxpython/lmgr/layertree.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/statusbar.py
M gui/wxpython/mapdisp/test_mapdisp.py
M gui/wxpython/mapwin/buffered.py
M gui/wxpython/modules/colorrules.py
M gui/wxpython/nviz/tools.py
M gui/wxpython/nviz/workspace.py
M gui/wxpython/photo2image/ip2i_manager.py
M gui/wxpython/psmap/dialogs.py
M gui/wxpython/psmap/instructions.py
M gui/wxpython/rlisetup/frame.py
M gui/wxpython/rlisetup/wizard.py
M gui/wxpython/startup/locdownload.py
M gui/wxpython/tools/update_menudata.py
M gui/wxpython/tplot/frame.py
M gui/wxpython/vdigit/dialogs.py
M gui/wxpython/vdigit/wxdigit.py
M gui/wxpython/vnet/dialogs.py
M gui/wxpython/vnet/toolbars.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/web_services/dialogs.py
M gui/wxpython/web_services/widgets.py
M gui/wxpython/wxplot/dialogs.py
Log Message:
-----------
gui: Use comprehensions when initializing lists, dicts, and sets (#4914)
* gui: Use comprehensions when initializing dicts
* gui: Use comprehensions when initializing lists
* gui: Use comprehensions when initializing sets
* gui: Use comprehensions when initializing lists
* style: Fix C420 [*] Unnecessary dict comprehension for iterable; use `dict.fromkeys` instead
* style: Fix FURB140 [*] Use `itertools.starmap` instead of the generator
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