Skip to content

Commit

Permalink
Add too-many-positional-arguments to ignore list for pylint (#214)
Browse files Browse the repository at this point in the history
* Add too-many-positional-arguments to ignore list for `pylint`

* Upgrade codecov-action version
  • Loading branch information
FanwangM authored Oct 25, 2024
1 parent bf2ef76 commit 6e592be
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci_codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
python -m pytest -c pyproject.toml --cov-config=.coveragerc --cov-report=xml --color=yes procrustes
- name: CodeCov
uses: codecov/codecov-action@v4.5.0
uses: codecov/codecov-action@v4.6.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
# Temp fix for https://github.com/codecov/codecov-action/issues/1487
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ disable = [
"no-else-return",
"no-member",
"too-many-branches",
"too-many-positional-arguments",
]

[tool.pylint."MASTER"]
Expand Down
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,8 @@ disable=
# Used when a name doesn't doesn't fit the naming convention associated to its type
# (constant, variable, class…).
C0103,
# Used when too many positional arguments are given in a function call.
R0917,

[SIMILARITIES]
min-similarity-lines=5
Expand Down

0 comments on commit 6e592be

Please sign in to comment.