We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0235306 commit 25717afCopy full SHA for 25717af
.github/workflows/pylint.yml .github/workflows/flake8.yml.github/workflows/pylint.yml renamed to .github/workflows/flake8.yml
@@ -5,7 +5,7 @@
5
# SPDX-FileContributor: Michael Meinel
6
# SPDX-FileContributor: Michael Fritzsche
7
8
-name: Pylint
+name: Flake8
9
10
on: [push]
11
@@ -24,9 +24,12 @@ jobs:
24
- name: Install dependencies
25
run: |
26
python -m pip install --upgrade pip
27
- pip install pylint
+ pip install flake8
28
pip install .
29
pip install .[dev]
30
- - name: Analysing the code with pylint
+ - name: Analysing the code with flake8
31
32
- pylint $(git ls-files 'src/*.py')
+ # stop the build if there are Python syntax errors or undefined names
33
+ flake8 ./test/ ./src/ --count --select=E9,F63,F7,F82 --show-source --statistics
34
+ # Stop build on errors
35
+ flake8 ./test/ ./src/ --count --statistics
0 commit comments