[GRASS-git] [OSGeo/grass] f3483c: PEP8 fixes (#1317)

Markus Neteler noreply at github.com
Fri Feb 12 11:25:10 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass
  Commit: f3483cf55ff15ba753e00e1d28282cb3b0b2417b
      https://github.com/OSGeo/grass/commit/f3483cf55ff15ba753e00e1d28282cb3b0b2417b
  Author: Markus Neteler <neteler at gmail.com>
  Date:   2021-02-12 (Fri, 12 Feb 2021)

  Changed paths:
    M db/db.copy/testsuite/test_dbcopy.py
    M display/d.mon/render_cmd.py
    M doc/gui/wxpython/example/dialogs.py
    M doc/gui/wxpython/example/frame.py
    M doc/gui/wxpython/example/toolbars.py
    M doc/python/m.distance.py
    M doc/python/raster_example_ctypes.py
    M doc/python/vector_example_ctypes.py
    M gui/wxpython/animation/controller.py
    M gui/wxpython/animation/dialogs.py
    M gui/wxpython/core/settings.py
    M gui/wxpython/core/workspace.py
    M gui/wxpython/datacatalog/infomanager.py
    M gui/wxpython/datacatalog/toolbars.py
    M gui/wxpython/datacatalog/tree.py
    M gui/wxpython/dbmgr/base.py
    M gui/wxpython/dbmgr/sqlbuilder.py
    M gui/wxpython/dbmgr/vinfo.py
    M gui/wxpython/gcp/manager.py
    M gui/wxpython/gmodeler/frame.py
    M gui/wxpython/gmodeler/model.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/pyedit.py
    M gui/wxpython/gui_core/wrap.py
    M gui/wxpython/image2target/g.gui.image2target.py
    M gui/wxpython/image2target/ii2t_gis_set.py
    M gui/wxpython/lmgr/frame.py
    M gui/wxpython/lmgr/layertree.py
    M gui/wxpython/lmgr/menudata.py
    M gui/wxpython/location_wizard/wizard.py
    M gui/wxpython/mapdisp/main.py
    M gui/wxpython/modules/colorrules.py
    M gui/wxpython/modules/extensions.py
    M gui/wxpython/modules/import_export.py
    M gui/wxpython/modules/mcalc_builder.py
    M gui/wxpython/nviz/mapwindow.py
    M gui/wxpython/photo2image/g.gui.photo2image.py
    M gui/wxpython/photo2image/ip2i_manager.py
    M gui/wxpython/psmap/dialogs.py
    M gui/wxpython/psmap/utils.py
    M gui/wxpython/startup/locdownload.py
    M gui/wxpython/tplot/frame.py
    M gui/wxpython/vdigit/dialogs.py
    M gui/wxpython/vdigit/toolbars.py
    M gui/wxpython/vnet/vnet_data.py
    M imagery/i.atcorr/create_iwave.py
    M lib/gis/testsuite/gis_lib_env_test.py
    M lib/gis/testsuite/test_parser_json.py
    M lib/init/.flake8
    M lib/init/grass.py
    M lib/python/ctypes/ctypesgencore/parser/parsetab.py
    M lib/python/gunittest/loader.py
    M lib/python/gunittest/multireport.py
    M lib/python/gunittest/multirunner.py
    M lib/python/gunittest/testsuite/data/samplecode/submodule_errors/subsubmodule_exiting/testsuite/test_segfaut.py
    M lib/python/pygrass/gis/region.py
    M lib/python/pygrass/raster/abstract.py
    M lib/python/pygrass/raster/history.py
    M lib/python/pygrass/raster/testsuite/test_history.py
    M lib/python/pygrass/raster/testsuite/test_pygrass_raster.py
    M lib/python/pygrass/raster/testsuite/test_raster_region.py
    M lib/python/pygrass/rpc/testsuite/test_pygrass_rpc_doctests.py
    M lib/python/pygrass/vector/testsuite/test_vector.py
    M lib/python/script/array.py
    M lib/python/script/db.py
    M lib/python/script/setup.py
    M lib/python/script/testsuite/test_utils.py
    M lib/python/temporal/core.py
    M lib/python/temporal/list_stds.py
    M lib/python/temporal/testsuite/unittests_temporal_algebra_grs.py
    M lib/python/temporal/testsuite/unittests_temporal_raster_algebra_grs.py
    M lib/python/temporal/testsuite/unittests_temporal_vector_algebra.py
    M lib/raster/testsuite/rast_parse_color_rule.py
    M lib/raster3d/testsuite/raster3d_lib_test.py
    M man/build_class.py
    M man/build_class_graphical.py
    M man/build_full_index.py
    M man/build_full_index_rest.py
    M man/build_html.py
    M man/build_rest.py
    M man/build_topics.py
    M man/parser_standard_options.py
    M man/sphinx/conf.py
    M raster/r.basins.fill/testsuite/testrbf.py
    M raster/r.contour/testsuite/testrc.py
    M raster/r.geomorphon/testsuite/test_r_geom.py
    M raster/r.gwflow/testsuite/validation_7x7_grid.py
    M raster/r.gwflow/testsuite/validation_excavation.py
    M raster/r.in.ascii/testsuite/test_r_in_ascii.py
    M raster/r.in.gdal/testsuite/test_r_in_gdal.py
    M raster/r.in.poly/testsuite/test_rinpoly.py
    M raster/r.info/testsuite/test_r_info.py
    M raster/r.mapcalc/testsuite/test_nmedian_bug_3296.py
    M raster/r.random/testsuite/testrandom.py
    M raster/r.reclass/testsuite/test_r_reclass.py
    M raster/r.recode/testsuite/test_rrecode_ncspm.py
    M raster/r.report/testsuite/test_r_report.py
    M raster/r.series.interp/testsuite/interp_test.py
    M raster/r.solute.transport/example.py
    M raster/r.solute.transport/seguin_verify.py
    M raster/r.solute.transport/seguin_verify_well.py
    M raster/r.terraflow/testsuite/test_r_terraflow.py
    M raster/r.texture/testsuite/test_texture.py
    M raster/r.tile/testsuite/testrt.py
    M raster/r.univar/testsuite/test_r_univar.py
    M raster3d/r3.to.rast/testsuite/test_a_b_coeff.py
    M raster3d/r3.to.rast/testsuite/test_integer_rounding.py
    M raster3d/r3.to.rast/testsuite/test_nulls.py
    M raster3d/r3.to.rast/testsuite/test_small_data.py
    M scripts/d.correlate/d.correlate.py
    M scripts/r.in.srtm/r.in.srtm.py
    M scripts/r.reclass.area/testsuite/testrra.py
    M scripts/v.clip/testsuite/test_v_clip.py
    M scripts/v.db.join/v.db.join.py
    M scripts/v.rast.stats/testsuite/test_v_rast_stats.py
    M scripts/v.what.strds/v.what.strds.py
    M temporal/.flake8
    M temporal/t.create/t.create.py
    M temporal/t.info/t.info.py
    M temporal/t.list/t.list.py
    M temporal/t.merge/t.merge.py
    M temporal/t.rast.accdetect/t.rast.accdetect.py
    M temporal/t.rast.accdetect/testsuite/test_simple.py
    M temporal/t.rast.accumulate/t.rast.accumulate.py
    M temporal/t.rast.accumulate/testsuite/test_accumulation.py
    M temporal/t.rast.aggregate.ds/t.rast.aggregate.ds.py
    M temporal/t.rast.aggregate/t.rast.aggregate.py
    M temporal/t.rast.aggregate/testsuite/test_aggregation_absolute.py
    M temporal/t.rast.aggregate/testsuite/test_aggregation_absolute_parallel.py
    M temporal/t.rast.aggregate/testsuite/test_aggregation_relative.py
    M temporal/t.rast.algebra/t.rast.algebra.py
    M temporal/t.rast.algebra/testsuite/test_raster_algebra.py
    M temporal/t.rast.algebra/testsuite/test_raster_algebra_fails.py
    M temporal/t.rast.algebra/testsuite/test_raster_algebra_granularity.py
    M temporal/t.rast.algebra/testsuite/test_raster_algebra_granularity_fails.py
    M temporal/t.rast.contour/t.rast.contour.py
    M temporal/t.rast.contour/testsuite/test_convert.py
    M temporal/t.rast.export/testsuite/test_rast_export.py
    M temporal/t.rast.extract/testsuite/test_t_rast_extract.py
    M temporal/t.rast.gapfill/t.rast.gapfill.py
    M temporal/t.rast.gapfill/testsuite/test_gapfill.py
    M temporal/t.rast.import/t.rast.import.py
    M temporal/t.rast.import/testsuite/test_temporal_rast_import.py
    M temporal/t.rast.neighbors/t.rast.neighbors.py
    M temporal/t.rast.neighbors/testsuite/test_neighbors.py
    M temporal/t.rast.series/t.rast.series.py
    M temporal/t.rast.series/testsuite/test_series.py
    M temporal/t.rast.to.rast3/t.rast.to.rast3.py
    M temporal/t.rast.to.rast3/testsuite/test_strds_to_rast3.py
    M temporal/t.rast.to.vect/t.rast.to.vect.py
    M temporal/t.rast.to.vect/testsuite/test_to_vect.py
    M temporal/t.rast.univar/testsuite/test_t_rast_univar.py
    M temporal/t.rast.what/t.rast.what.py
    M temporal/t.rast.what/testsuite/test_what.py
    M temporal/t.rast3d.algebra/t.rast3d.algebra.py
    M temporal/t.rast3d.algebra/testsuite/test_raster3d_algebra.py
    M temporal/t.rast3d.extract/testsuite/test_t_rast3d_extract.py
    M temporal/t.rast3d.univar/t.rast3d.univar.py
    M temporal/t.rast3d.univar/testsuite/test_t_rast3d_univar.py
    M temporal/t.remove/t.remove.py
    M temporal/t.rename/t.rename.py
    M temporal/t.select/t.select.py
    M temporal/t.shift/t.shift.py
    M temporal/t.shift/testsuite/test_shift.py
    M temporal/t.snap/testsuite/test_snap.py
    M temporal/t.support/t.support.py
    M temporal/t.support/testsuite/test_support_str3ds.py
    M temporal/t.support/testsuite/test_support_strds.py
    M temporal/t.support/testsuite/test_support_stvds.py
    M temporal/t.unregister/t.unregister.py
    M temporal/t.unregister/testsuite/test_unregister.py
    M temporal/t.vect.algebra/t.vect.algebra.py
    M temporal/t.vect.algebra/testsuite/test_vector_algebra.py
    M temporal/t.vect.extract/testsuite/test_vect_extract.py
    M temporal/t.vect.observe.strds/t.vect.observe.strds.py
    M tools/gitlog2changelog.py
    M tools/mkhtml.py
    M tools/mkrest.py
    M vector/v.extract/testsuite/test_v_extract.py
    M vector/v.profile/testsuite/test_v_profile.py
    M vector/v.univar/testsuite/v_univar_test.py
    M vector/v.vect.stats/testsuite/test_vect_stats.py
    M vector/v.what/testsuite/test_vwhat_layers.py
    M vector/v.what/testsuite/test_vwhat_ncspm.py

  Log Message:
  -----------
  PEP8 fixes (#1317)

* PEP8: fix E101: indentation contains mixed spaces and tabs

* PEP8: fix E116: unexpected indentation (comment)

* PEP8: fix E122: continuation line missing indentation or outdented

* PEP8: fix E123: closing bracket does not match indentation of opening bracket's line

* PEP8: fix E124: closing bracket does not match visual indentation

* PEP8: fix E126: continuation line over-indented for hanging indent

* PEP8: fix E129: visually indented line with same indent as next logical line

* PEP8: fix E131: continuation line unaligned for hanging indent

* PEP8: fix E203: whitespace before ':'

* PEP8: fix E222: multiple spaces after operator

* PEP8: fix E228: missing whitespace around modulo operator

* PEP8: fix E241: multiple spaces after ','

* PEP8: fix E301: expected 1 blank line, found 0

* PEP8: fix E306: expected 1 blank line before a nested definition, found 0

* PEP8: fix E401: multiple imports on one line

* PEP8: fix E502: the backslash is redundant between brackets

* PEP8: fix W291: trailing whitespace

* PEP8: fix W391: blank line at end of file

* PEP8: no longer need to ignore E111, E228




More information about the grass-commit mailing list