Skip to content

Commit

Permalink
Update pylint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DevER-M authored Oct 16, 2024
1 parent ccd9fd5 commit 1abab97
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ jobs:
pip install umsgpack
pip install cryptography
pip install pylint-fail-under
#lists pyling suggestions to improve the score & pylint score of the file
- name: code review
run: find . -name '*.py' -print -exec pylint {} \;
#fails the build if one file has pylint score below 7.0
- name: Analyse code
run: |
for file in $(find . -name '*.py'); do pylint "$file" --fail-under=6.0; done
for file in $(find . -name '*.py'); do pylint "$file" --fail-under=2.0; done

0 comments on commit 1abab97

Please sign in to comment.