From 6e592be3ac550fd1e1332ab5e1493550efd94959 Mon Sep 17 00:00:00 2001 From: Fanwang Meng Date: Fri, 25 Oct 2024 10:27:49 -0400 Subject: [PATCH] Add too-many-positional-arguments to ignore list for `pylint` (#214) * Add too-many-positional-arguments to ignore list for `pylint` * Upgrade codecov-action version --- .github/workflows/ci_codecov.yml | 2 +- pyproject.toml | 1 + tox.ini | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci_codecov.yml b/.github/workflows/ci_codecov.yml index 6647566c..6ee8a34d 100644 --- a/.github/workflows/ci_codecov.yml +++ b/.github/workflows/ci_codecov.yml @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 61721ab5..4b616767 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -284,6 +284,7 @@ disable = [ "no-else-return", "no-member", "too-many-branches", + "too-many-positional-arguments", ] [tool.pylint."MASTER"] diff --git a/tox.ini b/tox.ini index 5c1c052c..79de6969 100644 --- a/tox.ini +++ b/tox.ini @@ -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