[GRASS-git] [OSGeo/grass] 90634b: Fix flake8 pep8 errors (#986)

Markus Neteler noreply at github.com
Sun Sep 27 09:32:40 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass
  Commit: 90634b76e3bcf9695a844cf3f6581975fa7283d9
      https://github.com/OSGeo/grass/commit/90634b76e3bcf9695a844cf3f6581975fa7283d9
  Author: Markus Neteler <neteler at gmail.com>
  Date:   2020-09-27 (Sun, 27 Sep 2020)

  Changed paths:
    M lib/python/.flake8
    M lib/python/bandref/reader.py
    M lib/python/ctypes/ctypesgencore/ctypedescs.py
    M lib/python/ctypes/ctypesgencore/parser/parsetab.py
    M lib/python/ctypes/ctypesgencore/parser/preprocessor.py
    M lib/python/docs/conf.py
    M lib/python/exceptions/__init__.py
    M lib/python/gunittest/case.py
    M lib/python/gunittest/gmodules.py
    M lib/python/gunittest/gutils.py
    M lib/python/gunittest/main.py
    M lib/python/gunittest/multireport.py
    M lib/python/gunittest/multirunner.py
    M lib/python/gunittest/reporters.py
    M lib/python/gunittest/runner.py
    M lib/python/gunittest/testsuite/test_assertions_vect.py
    M lib/python/imaging/images2swf.py
    M lib/python/pydispatch/dispatcher.py
    M lib/python/pydispatch/saferef.py
    M lib/python/pydispatch/signal.py
    M lib/python/pygrass/errors.py
    M lib/python/pygrass/gis/__init__.py
    M lib/python/pygrass/gis/region.py
    M lib/python/pygrass/gis/testsuite/test_pygrass_gis_doctests.py
    M lib/python/pygrass/messages/__init__.py
    M lib/python/pygrass/modules/grid/__init__.py
    M lib/python/pygrass/modules/grid/grid.py
    M lib/python/pygrass/modules/grid/split.py
    M lib/python/pygrass/modules/interface/flag.py
    M lib/python/pygrass/modules/interface/module.py
    M lib/python/pygrass/modules/interface/parameter.py
    M lib/python/pygrass/modules/interface/typedict.py
    M lib/python/pygrass/modules/shortcuts.py
    M lib/python/pygrass/orderdict.py
    M lib/python/pygrass/raster/__init__.py
    M lib/python/pygrass/raster/abstract.py
    M lib/python/pygrass/raster/category.py
    M lib/python/pygrass/raster/history.py
    M lib/python/pygrass/raster/raster_type.py
    M lib/python/pygrass/raster/rowio.py
    M lib/python/pygrass/rpc/__init__.py
    M lib/python/pygrass/rpc/base.py
    M lib/python/pygrass/rpc/testsuite/test_pygrass_rpc_doctests.py
    M lib/python/pygrass/shell/__init__.py
    M lib/python/pygrass/tests/benchmark.py
    M lib/python/pygrass/testsuite/test_pygrass_doctests.py
    M lib/python/pygrass/utils.py
    M lib/python/pygrass/vector/__init__.py
    M lib/python/pygrass/vector/abstract.py
    M lib/python/pygrass/vector/basic.py
    M lib/python/pygrass/vector/find.py
    M lib/python/pygrass/vector/geometry.py
    M lib/python/pygrass/vector/sql.py
    M lib/python/pygrass/vector/table.py
    M lib/python/pygrass/vector/testsuite/test_geometry.py
    M lib/python/pygrass/vector/testsuite/test_table.py
    M lib/python/pygrass/vector/testsuite/test_vector.py
    M lib/python/pygrass/vector/testsuite/test_vector3d.py
    M lib/python/pygrass/vector/vector_type.py
    M lib/python/script/core.py
    M lib/python/script/raster.py
    M lib/python/script/setup.py
    M lib/python/script/task.py
    M lib/python/script/vector.py
    M lib/python/temporal/abstract_dataset.py
    M lib/python/temporal/abstract_map_dataset.py
    M lib/python/temporal/abstract_space_time_dataset.py
    M lib/python/temporal/aggregation.py
    M lib/python/temporal/base.py
    M lib/python/temporal/c_libraries_interface.py
    M lib/python/temporal/core.py
    M lib/python/temporal/datetime_math.py
    M lib/python/temporal/gui_support.py
    M lib/python/temporal/list_stds.py
    M lib/python/temporal/metadata.py
    M lib/python/temporal/open_stds.py
    M lib/python/temporal/register.py
    M lib/python/temporal/space_time_datasets.py
    M lib/python/temporal/spatial_extent.py
    M lib/python/temporal/spatio_temporal_relationships.py
    M lib/python/temporal/stds_export.py
    M lib/python/temporal/temporal_algebra.py
    M lib/python/temporal/temporal_extent.py
    M lib/python/temporal/temporal_granularity.py
    M lib/python/temporal/temporal_operator.py
    M lib/python/temporal/temporal_raster3d_algebra.py
    M lib/python/temporal/temporal_raster_algebra.py
    M lib/python/temporal/temporal_raster_base_algebra.py
    M lib/python/temporal/temporal_vector_algebra.py
    M lib/python/temporal/testsuite/unittests_temporal_algebra.py
    M lib/python/temporal/testsuite/unittests_temporal_algebra_grs.py
    M lib/python/temporal/testsuite/unittests_temporal_algebra_mixed_stds.py
    M lib/python/temporal/testsuite/unittests_temporal_conditionals.py
    M lib/python/temporal/testsuite/unittests_temporal_raster_algebra.py
    M lib/python/temporal/testsuite/unittests_temporal_raster_algebra_equal_ts.py
    M lib/python/temporal/testsuite/unittests_temporal_raster_algebra_grs.py
    M lib/python/temporal/testsuite/unittests_temporal_raster_algebra_spatial_topology.py
    M lib/python/temporal/testsuite/unittests_temporal_raster_conditionals.py
    M lib/python/temporal/testsuite/unittests_temporal_raster_conditionals_complement_else.py
    M lib/python/temporal/testsuite/unittests_temporal_vector_algebra.py
    M lib/python/temporal/unit_tests.py
    M lib/python/temporal/univar_statistics.py

  Log Message:
  -----------
  Fix flake8 pep8 errors (#986)

* PEP8: fix E117: over-indented
* 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 E201: whitespace after '{'
* PEP8: fix E203: whitespace before ':'
* PEP8: fix E222: multiple spaces after operator
* PEP8: fix E225: missing whitespace around operator
* PEP8: fix E228: missing whitespace around modulo operator
* PEP8: fix E241: multiple spaces after ','
* PEP8: fix E262: inline comment should start with '# '
* PEP8: fix E301: expected 1 blank line, found 0
* PEP8: fix E401: multiple imports on one line
* PEP8: fix E502: the backslash is redundant between brackets
* PEP8: fix E711: comparison to None should be 'if cond is None:'
* PEP8: fix W291: trailing whitespace
* PEP8: fix W391: blank line at end of file
* PEP8: fix E225: missing whitespace around operator
* PEP8: fix E131 continuation line unaligned for hanging indent
* PEP8: reduce list of ignored codes
* sort flake8 ignore codes
* PEP8: fix remaining E117,E712




More information about the grass-commit mailing list