CLARIAH / grlc

grlc builds Web APIs using shared SPARQL queries
http://grlc.io
MIT License
137 stars 32 forks source link

Restore Flake8 linting on Github testing action #391

Closed c-martinez closed 9 months ago

c-martinez commented 1 year ago

GitHub testing action used to include Flake8 testing:

    - name: Lint with flake8
      run: |
        # stop the build if there are Python syntax errors or undefined names
        flake8 src/ --count --select=E9,F63,F7,F82 --show-source --statistics
        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
        flake8 src/ --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics

I removed it to stop tests from failing and be able to build python for different versions (see #389).

Once that is fixed, we should fix current linting issues and add flake8 testing back in.

c-martinez commented 1 year ago

Addressed by #440

c-martinez commented 9 months ago

Fixed by #440 -- closing