Skip to content

Commit d66645b

Browse files
committed
chore: changed python-app.yml
1 parent 5b4dc31 commit d66645b

File tree

2 files changed

+4
-30
lines changed

2 files changed

+4
-30
lines changed

.github/workflows/pylint.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/workflows/python-app.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,15 @@ jobs:
2626
- name: Install dependencies
2727
run: |
2828
python -m pip install --upgrade pip
29-
pip install flake8 pytest
29+
pip install flake8 pytest pylint
3030
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
3131
- name: Lint with flake8
3232
run: |
3333
# stop the build if there are Python syntax errors or undefined names
3434
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
3535
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
3636
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
37-
- name: Test with pytest
37+
- name: Analysing the code with pylint
3838
run: |
39-
pytest
39+
pylint $(git ls-files '*.py')
40+

0 commit comments

Comments
 (0)