Skip to content

Commit

Permalink
fix: Remove pylint too-many-positional-arguments option when running …
Browse files Browse the repository at this point in the history
…Python < 3.9 (issue #145)
  • Loading branch information
neilmunday committed Oct 10, 2024
1 parent acc5d6d commit e38f0fa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ jobs:
pip install requests
pip install setuptools
pip install typing-extensions
- name: Remove too-many-positional-arguments if Python < 3.9
run: |
sed -i 's/too-many-positional-arguments,//' $(git ls-files '*.py')
if: ${{ matrix.python-version == '3.6' || matrix.python-version == '3.7' || matrix.python-version == '3.8' }}
- name: Analysing the code with pylint for Python 3.6
run: |
pylint --disable=duplicate-code,no-self-use $(git ls-files '*.py')
Expand Down

0 comments on commit e38f0fa

Please sign in to comment.