Skip to content

Commit

Permalink
Update pylint2black.yml
Browse files Browse the repository at this point in the history
Added --exit-zero as we are interested first on warnings and reformating
  • Loading branch information
Dfupa authored Nov 15, 2023
1 parent 98d9b58 commit 213f790
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pylint2black.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
pip install black
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')
pylint --exit-zero $(git ls-files '*.py')
- name: Running black to reformat the code
run: |
black --target-version=py38 $(git ls-files '*.py')
- name: Reanalyzing the code with pylint to check the improvments
run: |
pylint $(git ls-files '*.py')
pylint --exit-zero $(git ls-files '*.py')

0 comments on commit 213f790

Please sign in to comment.