[GRASS-git] [OSGeo/grass] e54daf: Flake8 fixes for utils and man (#1379)

Vaclav Petras noreply at github.com
Fri Feb 19 12:35:48 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass
  Commit: e54daf55a9cec4d0cf6db7c4a47134276bb0a5b1
      https://github.com/OSGeo/grass/commit/e54daf55a9cec4d0cf6db7c4a47134276bb0a5b1
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2021-02-19 (Fri, 19 Feb 2021)

  Changed paths:
    A .flake8
    M .github/workflows/flake8.yml
    M man/build_check.py
    M man/build_check_rest.py
    M man/build_class.py
    M man/build_class_graphical.py
    M man/build_class_rest.py
    M man/build_full_index.py
    M man/build_full_index_rest.py
    M man/build_graphical_index.py
    M man/build_html.py
    M man/build_index.py
    M man/build_index_rest.py
    M man/build_rest.py
    M man/sphinx/conf.py
    M utils/create_python_init_file.py
    M utils/g.html2man/ggroff.py
    M utils/g.html2man/ghtml.py
    M utils/gitlog2changelog.py
    M utils/mkhtml.py
    M utils/thumbnails.py

  Log Message:
  -----------
  Flake8 fixes for utils and man (#1379)

This applies fixes for basic Flake8 issues to Python scripts in utils and man.
Number of issues is ignored in the config file; ideally to be resolved later.

This adds a Flake8 config file to the top level directory and runs Flake8 from there
ignoring directories checked separatelly and files not yet fixed.
However, it checks any other Python file which shows up in the source code outside
of the standard directories (e.g., a script for creating visuals for a module doc).




More information about the grass-commit mailing list