Skip to content

Commit

Permalink
let pylint only fail for warning and errors
Browse files Browse the repository at this point in the history
  • Loading branch information
f0sh committed Jun 29, 2023
1 parent f939a6c commit 5900b47
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
pip install pylint pylint-exit
pip install -r requirements.txt
- name: Analysing the code with pylint
run: |
pylint -E $(git ls-files '*.py')
LINT_EXCLUDE = invalid-name,trailing-whitespace,line-too-long,missing-function-docstring,missing-module-docstring
pylint -d $LINT_EXCLUDE --fail-under=7 $(git ls-files '*.py')

0 comments on commit 5900b47

Please sign in to comment.