Skip to content

Commit 289eb1a

Browse files
Use flake8 instead of pylint for linting
1 parent 0235306 commit 289eb1a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,12 @@ jobs:
2424
- name: Install dependencies
2525
run: |
2626
python -m pip install --upgrade pip
27-
pip install pylint
27+
pip install flake8
2828
pip install .
2929
pip install .[dev]
30-
- name: Analysing the code with pylint
30+
- name: Analysing the code with flake8
3131
run: |
32-
pylint $(git ls-files 'src/*.py')
32+
# 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

Comments
 (0)