[GRASS-git] [OSGeo/grass] 763fa0: Checks: Fix Flake8 E501 (#3541)

Makiko Shukunobe noreply at github.com
Fri May 3 11:49:57 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 763fa05e332664d1b5f883b4a26a81decf7757b3
      https://github.com/OSGeo/grass/commit/763fa05e332664d1b5f883b4a26a81decf7757b3
  Author: Makiko Shukunobe <mshukuno at users.noreply.github.com>
  Date:   2024-05-03 (Fri, 03 May 2024)

  Changed paths:
    M .flake8
    M gui/wxpython/animation/provider.py
    M gui/wxpython/animation/temporal_manager.py
    M gui/wxpython/core/debug.py
    M gui/wxpython/core/gcmd.py
    M gui/wxpython/core/giface.py
    M gui/wxpython/core/render.py
    M gui/wxpython/core/toolboxes.py
    M gui/wxpython/core/workspace.py
    M gui/wxpython/core/ws.py
    M gui/wxpython/datacatalog/tree.py
    M gui/wxpython/dbmgr/base.py
    M gui/wxpython/dbmgr/dialogs.py
    M gui/wxpython/dbmgr/manager.py
    M gui/wxpython/dbmgr/sqlbuilder.py
    M gui/wxpython/docs/wxgui_sphinx/conf.py
    M gui/wxpython/gcp/manager.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/ghelp.py
    M gui/wxpython/gui_core/gselect.py
    M gui/wxpython/gui_core/preferences.py
    M gui/wxpython/gui_core/treeview.py
    M gui/wxpython/gui_core/widgets.py
    M gui/wxpython/iclass/dialogs.py
    M gui/wxpython/iclass/frame.py
    M gui/wxpython/image2target/g.gui.image2target.py
    M gui/wxpython/image2target/ii2t_gis_set.py
    M gui/wxpython/image2target/ii2t_manager.py
    M gui/wxpython/iscatt/controllers.py
    M gui/wxpython/iscatt/dialogs.py
    M gui/wxpython/iscatt/plots.py
    M gui/wxpython/iscatt/toolbars.py
    M gui/wxpython/lmgr/frame.py
    M gui/wxpython/lmgr/giface.py
    M gui/wxpython/lmgr/layertree.py
    M gui/wxpython/location_wizard/dialogs.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/mapdisp/test_mapdisp.py
    M gui/wxpython/mapdisp/toolbars.py
    M gui/wxpython/mapwin/base.py
    M gui/wxpython/mapwin/buffered.py
    M gui/wxpython/mapwin/decorations.py
    M gui/wxpython/modules/colorrules.py
    M gui/wxpython/modules/import_export.py
    M gui/wxpython/nviz/mapwindow.py
    M gui/wxpython/nviz/tools.py
    M gui/wxpython/photo2image/ip2i_manager.py
    M gui/wxpython/psmap/dialogs.py
    M gui/wxpython/psmap/frame.py
    M gui/wxpython/psmap/instructions.py
    M gui/wxpython/rdigit/toolbars.py
    M gui/wxpython/startup/locdownload.py
    M gui/wxpython/tools/build_modules_xml.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/dialogs.py
    M gui/wxpython/vnet/vnet_core.py
    M gui/wxpython/vnet/vnet_data.py
    M gui/wxpython/vnet/widgets.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
    M gui/wxpython/wxplot/scatter.py
    M imagery/i.atcorr/create_iwave.py
    M lib/init/grass.py
    M man/build_rest.py
    M python/grass/docs/conf.py
    M python/grass/gunittest/case.py
    M python/grass/gunittest/checkers.py
    M python/grass/gunittest/gmodules.py
    M python/grass/gunittest/invoker.py
    M python/grass/gunittest/main.py
    M python/grass/gunittest/reporters.py
    M python/grass/imaging/images2gif.py
    M python/grass/pygrass/gis/region.py
    M python/grass/pygrass/modules/grid/split.py
    M python/grass/pygrass/modules/interface/module.py
    M python/grass/pygrass/modules/interface/parameter.py
    M python/grass/pygrass/raster/__init__.py
    M python/grass/pygrass/raster/abstract.py
    M python/grass/pygrass/rpc/__init__.py
    M python/grass/pygrass/tests/benchmark.py
    M python/grass/pygrass/utils.py
    M python/grass/pygrass/vector/__init__.py
    M python/grass/pygrass/vector/table.py
    M python/grass/script/db.py
    M python/grass/script/vector.py
    M python/grass/temporal/abstract_map_dataset.py
    M python/grass/temporal/abstract_space_time_dataset.py
    M python/grass/temporal/aggregation.py
    M python/grass/temporal/base.py
    M python/grass/temporal/c_libraries_interface.py
    M python/grass/temporal/core.py
    M python/grass/temporal/datetime_math.py
    M python/grass/temporal/list_stds.py
    M python/grass/temporal/metadata.py
    M python/grass/temporal/register.py
    M python/grass/temporal/space_time_datasets.py
    M python/grass/temporal/spatial_extent.py
    M python/grass/temporal/spatial_topology_dataset_connector.py
    M python/grass/temporal/spatio_temporal_relationships.py
    M python/grass/temporal/temporal_algebra.py
    M python/grass/temporal/temporal_extent.py
    M python/grass/temporal/temporal_granularity.py
    M python/grass/temporal/temporal_operator.py
    M python/grass/temporal/temporal_raster_base_algebra.py
    M python/grass/temporal/temporal_topology_dataset_connector.py
    M python/grass/temporal/temporal_vector_algebra.py
    M python/grass/temporal/univar_statistics.py
    M scripts/d.frame/d.frame.py
    M scripts/d.polar/d.polar.py
    M scripts/d.rast.edit/d.rast.edit.py
    M scripts/g.extension/g.extension.py
    M scripts/i.image.mosaic/i.image.mosaic.py
    M scripts/i.in.spotvgt/i.in.spotvgt.py
    M scripts/i.pansharpen/i.pansharpen.py
    M scripts/r.colors.stddev/r.colors.stddev.py
    M scripts/r.fillnulls/r.fillnulls.py
    M scripts/r.import/r.import.py
    M scripts/r.in.srtm/r.in.srtm.py
    M scripts/r.in.wms/r.in.wms.py
    M scripts/r.in.wms/srs.py
    M scripts/r.in.wms/wms_base.py
    M scripts/r.in.wms/wms_cap_parsers.py
    M scripts/r.in.wms/wms_drv.py
    M scripts/r.in.wms/wms_gdal_drv.py
    M scripts/r.mask/r.mask.py
    M scripts/r.reclass.area/r.reclass.area.py
    M scripts/r.tileset/r.tileset.py
    M scripts/r.unpack/r.unpack.py
    M scripts/v.db.renamecolumn/v.db.renamecolumn.py
    M scripts/v.dissolve/v.dissolve.py
    M scripts/v.import/v.import.py
    M scripts/v.in.geonames/v.in.geonames.py
    M scripts/v.rast.stats/v.rast.stats.py
    M scripts/v.report/v.report.py
    M scripts/v.unpack/v.unpack.py
    M temporal/t.info/t.info.py
    M temporal/t.list/t.list.py
    M temporal/t.rast.accdetect/t.rast.accdetect.py
    M temporal/t.rast.algebra/t.rast.algebra.py
    M temporal/t.rast.list/t.rast.list.py
    M temporal/t.rast.series/t.rast.series.py
    M temporal/t.rast.what/t.rast.what.py
    M temporal/t.rast3d.algebra/t.rast3d.algebra.py
    M temporal/t.select/t.select.py
    M temporal/t.topology/t.topology.py
    M temporal/t.vect.algebra/t.vect.algebra.py
    M temporal/t.vect.observe.strds/t.vect.observe.strds.py
    M utils/mkrest.py

  Log Message:
  -----------
  Checks: Fix Flake8 E501 (#3541)

Fixes E501 (line too long).

Docstrings (descriptions and parameters): fixed by using the existing format (authors' docstrings - length, parameters aligned or x indentations, etc), most of which are shorter than 88 characters.

If results in rst code-blocks and doctest exceed the limit, use  noqa: E501.

Regex, Jinja2 HTML template strings strings: noqa: E501

More noqa: E501: Strings and comments were intended to be formatted in a specific way: For example, comments were used as measuring tape for string lengths. Print statements with strings which have ASCII tables etc.

Using blackdoc for most of the code in comments.

Flake8 can ignore a line or a file, but not a function.



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