[GRASS-git] [OSGeo/grass] 02bfae: Apply Black to wxGUI (#1527)
Vaclav Petras
noreply at github.com
Thu Apr 15 18:09:17 PDT 2021
Branch: refs/heads/master
Home: https://github.com/OSGeo/grass
Commit: 02bfae03d5db8c80a93a0e340ff3cdcd509a2785
https://github.com/OSGeo/grass/commit/02bfae03d5db8c80a93a0e340ff3cdcd509a2785
Author: Vaclav Petras <wenzeslaus at gmail.com>
Date: 2021-04-15 (Thu, 15 Apr 2021)
Changed paths:
M gui/scripts/d.rast3d.py
M gui/scripts/d.wms.py
M gui/wxpython/.flake8
M gui/wxpython/animation/__init__.py
M gui/wxpython/animation/anim.py
M gui/wxpython/animation/controller.py
M gui/wxpython/animation/data.py
M gui/wxpython/animation/dialogs.py
M gui/wxpython/animation/frame.py
M gui/wxpython/animation/g.gui.animation.py
M gui/wxpython/animation/mapwindow.py
M gui/wxpython/animation/nviztask.py
M gui/wxpython/animation/provider.py
M gui/wxpython/animation/temporal_manager.py
M gui/wxpython/animation/toolbars.py
M gui/wxpython/animation/utils.py
M gui/wxpython/core/__init__.py
M gui/wxpython/core/debug.py
M gui/wxpython/core/gcmd.py
M gui/wxpython/core/gconsole.py
M gui/wxpython/core/giface.py
M gui/wxpython/core/globalvar.py
M gui/wxpython/core/gthread.py
M gui/wxpython/core/layerlist.py
M gui/wxpython/core/menutree.py
M gui/wxpython/core/render.py
M gui/wxpython/core/settings.py
M gui/wxpython/core/toolboxes.py
M gui/wxpython/core/treemodel.py
M gui/wxpython/core/units.py
M gui/wxpython/core/utils.py
M gui/wxpython/core/workspace.py
M gui/wxpython/core/ws.py
M gui/wxpython/datacatalog/__init__.py
M gui/wxpython/datacatalog/catalog.py
M gui/wxpython/datacatalog/dialogs.py
M gui/wxpython/datacatalog/frame.py
M gui/wxpython/datacatalog/g.gui.datacatalog.py
M gui/wxpython/datacatalog/toolbars.py
M gui/wxpython/datacatalog/tree.py
M gui/wxpython/dbmgr/__init__.py
M gui/wxpython/dbmgr/base.py
M gui/wxpython/dbmgr/dialogs.py
M gui/wxpython/dbmgr/g.gui.dbmgr.py
M gui/wxpython/dbmgr/manager.py
M gui/wxpython/dbmgr/sqlbuilder.py
M gui/wxpython/dbmgr/vinfo.py
M gui/wxpython/docs/wxgui_sphinx/conf.py
M gui/wxpython/gcp/__init__.py
M gui/wxpython/gcp/g.gui.gcp.py
M gui/wxpython/gcp/manager.py
M gui/wxpython/gcp/mapdisplay.py
M gui/wxpython/gcp/statusbar.py
M gui/wxpython/gcp/toolbars.py
M gui/wxpython/gmodeler/__init__.py
M gui/wxpython/gmodeler/dialogs.py
M gui/wxpython/gmodeler/frame.py
M gui/wxpython/gmodeler/g.gui.gmodeler.py
M gui/wxpython/gmodeler/giface.py
M gui/wxpython/gmodeler/menudata.py
M gui/wxpython/gmodeler/model.py
M gui/wxpython/gmodeler/preferences.py
M gui/wxpython/gmodeler/toolbars.py
M gui/wxpython/gui_core/__init__.py
M gui/wxpython/gui_core/dialogs.py
M gui/wxpython/gui_core/forms.py
M gui/wxpython/gui_core/ghelp.py
M gui/wxpython/gui_core/goutput.py
M gui/wxpython/gui_core/gselect.py
M gui/wxpython/gui_core/infobar.py
M gui/wxpython/gui_core/mapdisp.py
M gui/wxpython/gui_core/menu.py
M gui/wxpython/gui_core/preferences.py
M gui/wxpython/gui_core/prompt.py
M gui/wxpython/gui_core/pyedit.py
M gui/wxpython/gui_core/pystc.py
M gui/wxpython/gui_core/query.py
M gui/wxpython/gui_core/simplelmgr.py
M gui/wxpython/gui_core/toolbars.py
M gui/wxpython/gui_core/treeview.py
M gui/wxpython/gui_core/vselect.py
M gui/wxpython/gui_core/widgets.py
M gui/wxpython/gui_core/wrap.py
M gui/wxpython/iclass/__init__.py
M gui/wxpython/iclass/dialogs.py
M gui/wxpython/iclass/digit.py
M gui/wxpython/iclass/frame.py
M gui/wxpython/iclass/g.gui.iclass.py
M gui/wxpython/iclass/plots.py
M gui/wxpython/iclass/statistics.py
M gui/wxpython/iclass/toolbars.py
M gui/wxpython/icons/grass_icons.py
M gui/wxpython/icons/icon.py
M gui/wxpython/image2target/__init__.py
M gui/wxpython/image2target/g.gui.image2target.py
M gui/wxpython/image2target/ii2t_gis_set.py
M gui/wxpython/image2target/ii2t_gis_set_error.py
M gui/wxpython/image2target/ii2t_manager.py
M gui/wxpython/image2target/ii2t_mapdisplay.py
M gui/wxpython/image2target/ii2t_statusbar.py
M gui/wxpython/image2target/ii2t_toolbars.py
M gui/wxpython/iscatt/__init__.py
M gui/wxpython/iscatt/controllers.py
M gui/wxpython/iscatt/core_c.py
M gui/wxpython/iscatt/dialogs.py
M gui/wxpython/iscatt/frame.py
M gui/wxpython/iscatt/iscatt_core.py
M gui/wxpython/iscatt/plots.py
M gui/wxpython/iscatt/toolbars.py
M gui/wxpython/iscatt/utils.py
M gui/wxpython/lmgr/__init__.py
M gui/wxpython/lmgr/frame.py
M gui/wxpython/lmgr/giface.py
M gui/wxpython/lmgr/menudata.py
M gui/wxpython/lmgr/pyshell.py
M gui/wxpython/lmgr/toolbars.py
M gui/wxpython/lmgr/workspace.py
M gui/wxpython/location_wizard/__init__.py
M gui/wxpython/location_wizard/base.py
M gui/wxpython/location_wizard/dialogs.py
M gui/wxpython/location_wizard/wizard.py
M gui/wxpython/mapdisp/__init__.py
M gui/wxpython/mapdisp/frame.py
M gui/wxpython/mapdisp/gprint.py
M gui/wxpython/mapdisp/main.py
M gui/wxpython/mapdisp/statusbar.py
M gui/wxpython/mapdisp/test_mapdisp.py
M gui/wxpython/mapdisp/toolbars.py
M gui/wxpython/mapswipe/__init__.py
M gui/wxpython/mapswipe/dialogs.py
M gui/wxpython/mapswipe/frame.py
M gui/wxpython/mapswipe/g.gui.mapswipe.py
M gui/wxpython/mapswipe/mapwindow.py
M gui/wxpython/mapswipe/toolbars.py
M gui/wxpython/mapwin/__init__.py
M gui/wxpython/mapwin/analysis.py
M gui/wxpython/mapwin/base.py
M gui/wxpython/mapwin/buffered.py
M gui/wxpython/mapwin/decorations.py
M gui/wxpython/mapwin/graphics.py
M gui/wxpython/modules/__init__.py
M gui/wxpython/modules/colorrules.py
M gui/wxpython/modules/extensions.py
M gui/wxpython/modules/histogram.py
M gui/wxpython/modules/import_export.py
M gui/wxpython/modules/mapsets_picker.py
M gui/wxpython/modules/mcalc_builder.py
M gui/wxpython/modules/vclean.py
M gui/wxpython/nviz/__init__.py
M gui/wxpython/nviz/animation.py
M gui/wxpython/nviz/main.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/nviz/wxnviz.py
M gui/wxpython/photo2image/__init__.py
M gui/wxpython/photo2image/g.gui.photo2image.py
M gui/wxpython/photo2image/ip2i_manager.py
M gui/wxpython/photo2image/ip2i_mapdisplay.py
M gui/wxpython/photo2image/ip2i_statusbar.py
M gui/wxpython/photo2image/ip2i_toolbars.py
M gui/wxpython/psmap/__init__.py
M gui/wxpython/psmap/dialogs.py
M gui/wxpython/psmap/frame.py
M gui/wxpython/psmap/g.gui.psmap.py
M gui/wxpython/psmap/instructions.py
M gui/wxpython/psmap/menudata.py
M gui/wxpython/psmap/toolbars.py
M gui/wxpython/psmap/utils.py
M gui/wxpython/rdigit/__init__.py
M gui/wxpython/rdigit/controller.py
M gui/wxpython/rdigit/dialogs.py
M gui/wxpython/rdigit/g.gui.rdigit.py
M gui/wxpython/rdigit/toolbars.py
M gui/wxpython/rlisetup/__init__.py
M gui/wxpython/rlisetup/frame.py
M gui/wxpython/rlisetup/functions.py
M gui/wxpython/rlisetup/g.gui.rlisetup.py
M gui/wxpython/rlisetup/sampling_frame.py
M gui/wxpython/rlisetup/wizard.py
M gui/wxpython/startup/__init__.py
M gui/wxpython/startup/guiutils.py
M gui/wxpython/startup/locdownload.py
M gui/wxpython/timeline/__init__.py
M gui/wxpython/timeline/frame.py
M gui/wxpython/timeline/g.gui.timeline.py
M gui/wxpython/tools/build_modules_xml.py
M gui/wxpython/tools/update_menudata.py
M gui/wxpython/tplot/__init__.py
M gui/wxpython/tplot/frame.py
M gui/wxpython/tplot/g.gui.tplot.py
M gui/wxpython/vdigit/__init__.py
M gui/wxpython/vdigit/dialogs.py
M gui/wxpython/vdigit/g.gui.vdigit.py
M gui/wxpython/vdigit/main.py
M gui/wxpython/vdigit/mapwindow.py
M gui/wxpython/vdigit/preferences.py
M gui/wxpython/vdigit/toolbars.py
M gui/wxpython/vdigit/wxdigit.py
M gui/wxpython/vdigit/wxdisplay.py
M gui/wxpython/vnet/__init__.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/vnet/vnet_utils.py
M gui/wxpython/vnet/widgets.py
M gui/wxpython/web_services/__init__.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/wxgui.py
M gui/wxpython/wxplot/__init__.py
M gui/wxpython/wxplot/base.py
M gui/wxpython/wxplot/dialogs.py
M gui/wxpython/wxplot/histogram.py
M gui/wxpython/wxplot/profile.py
M gui/wxpython/wxplot/scatter.py
M pyproject.toml
Log Message:
-----------
Apply Black to wxGUI (#1527)
This applies Black 20.8b1 to wxGUI and GUI scripts in gui dir.
Uses Black with settings from pyproject.toml file, i.e., enables the gui subdir.
Ignores lmgr/layertree.py because of a bug in Black.
Fixed formatting checks enabled in Flake8.
Black does not add (but preserves) some empty lines required by Flake8. Adding these manually.
More information about the grass-commit
mailing list