Skip to content

Commit

Permalink
Merge pull request #158 from FuryMartin/pylint-error
Browse files Browse the repository at this point in the history
fix: pylint R0917 error
  • Loading branch information
kubeedge-bot authored Oct 18, 2024
2 parents bef4daf + 37bf0a6 commit a1fbc04
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,11 @@ jobs:
python -m pip install ${{github.workspace}}/examples/resources/third_party/*
python -m pip install -r ${{github.workspace}}/requirements.txt
- name: Analysing code of core with pylint
# `--max-positional-arguments=10` is set for Python 3.9 to avoid `R0917: too-many-positional-arguments`.
# See details at https://github.com/kubeedge/ianvs/issues/157
run: |
pylint '${{github.workspace}}/core'
if [ "${{ matrix.python-version }}" = "3.9" ]; then
pylint --max-positional-arguments=10 '${{github.workspace}}/core'
else
pylint '${{github.workspace}}/core'
fi

0 comments on commit a1fbc04

Please sign in to comment.