[GRASS-git] [OSGeo/grass] 2312a5: init: Solve most of Flake8 issues in grass.py (#1536)

Vaclav Petras noreply at github.com
Fri Apr 16 21:10:27 PDT 2021


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass
  Commit: 2312a5da4b9ee15c7098324b3be6b38e92137f14
      https://github.com/OSGeo/grass/commit/2312a5da4b9ee15c7098324b3be6b38e92137f14
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2021-04-17 (Sat, 17 Apr 2021)

  Changed paths:
    M .flake8
    M .github/workflows/flake8.yml
    R lib/init/.flake8
    M lib/init/grass.py

  Log Message:
  -----------
  init: Solve most of Flake8 issues in grass.py (#1536)

This solves most of issues reported by Flake8 in grass.py and enables these checks
when possible. The rest is ignored using per-file ignores.

Configuration moved to the main .flake8 file in source code root directory
(CI now checks lib/init together with the other files from root dir).




More information about the grass-commit mailing list