[GRASS-git] [OSGeo/grass] 0129d7: CI: Add Flake8 check for selected tests (#2199)
Vaclav Petras
noreply at github.com
Sun Feb 13 12:56:22 PST 2022
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: 0129d7f5c24335af06b413045cef55a874fafa25
https://github.com/OSGeo/grass/commit/0129d7f5c24335af06b413045cef55a874fafa25
Author: Vaclav Petras <wenzeslaus at gmail.com>
Date: 2022-02-13 (Sun, 13 Feb 2022)
Changed paths:
M .github/workflows/flake8.yml
M python/grass/jupyter/testsuite/grassrenderer_test.py
M python/grass/jupyter/testsuite/interactivemap_test.py
M python/grass/script/testsuite/test_start_command_functions.py
M python/grass/script/testsuite/test_start_command_functions_nc.py
Log Message:
-----------
CI: Add Flake8 check for selected tests (#2199)
grass.jupyter and grass.script tests are almost Flake8 compliant. This fixes the reported issues and removes Python 2 specific check.
A new step in the flake8 job checks explicitly for the files in the two testsuite directories. (There is no way in Flake8 itself to include previosly excluded files which is needed because testsuite directories are ignored in the main .flake8 file and here we need to check them.)
More information about the grass-commit
mailing list