[GRASS-git] [OSGeo/grass] e4fc0a: Fix tab, indentation and membership Flake8 warning...

Vaclav Petras noreply at github.com
Wed Apr 22 10:04:25 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass
  Commit: e4fc0a935e18f638f3eda4958f6b27680cc7fa34
      https://github.com/OSGeo/grass/commit/e4fc0a935e18f638f3eda4958f6b27680cc7fa34
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2020-04-22 (Wed, 22 Apr 2020)

  Changed paths:
    M lib/python/.flake8
    M lib/python/gunittest/main.py
    M lib/python/imaging/images2gif.py
    M lib/python/imaging/images2swf.py
    M lib/python/pygrass/rpc/base.py
    M lib/python/script/core.py
    M lib/python/script/setup.py
    M lib/python/temporal/core.py
    M lib/python/temporal/metadata.py
    M lib/python/temporal/temporal_algebra.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

  Log Message:
  -----------
  Fix tab, indentation and membership Flake8 warnings in grass package (#540)

* Tabs in indentation or in code (Flake8 E101, W191, E242)
* Indentation is not a multiple of four (Flake8 E111)
* Wrong indentation of comments (Flake8 E114, E116)
* Multiple statements on one line (Flake8 E701, E702)
* Statement ends with a semicolon (Flake8 E703)
* Test for membership should be 'not in' (Flake8 E713)
* Reorder errors to move whitespace errors down the list.
* Completely remove commented-out traceback prints for debug messages in temporal code.




More information about the grass-commit mailing list