Skip to content

Commit

Permalink
chore(#1): pylint in py.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
h1alexbel committed Apr 16, 2024
1 parent a0c1224 commit ca10011
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/py.yml
Expand Up @@ -48,11 +48,15 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest
pip install pylint
pip install -r requirements.txt
- name: Test with pytest
run: |
pytest
- name: Pylint
run: |
pylint $(git ls-files '*.py')
- name: Lint with flake8
run: |
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
pytest

0 comments on commit ca10011

Please sign in to comment.