Skip to content

Commit a0729b8

Browse files
chore: update pylint to 3.3.1 and resolve issues (python-gitlab#2997)
pylint 3.3.1 appears to have added "too-many-positional-arguments" check with a value of 5. I don't disagree with this, but we have many functions which exceed this value. We might think about converting some of positional arguments over to keyword arguments in the future. But that is for another time. For now disable the check across the project.
1 parent 174d992 commit a0729b8

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ repos:
2020
hooks:
2121
- id: isort
2222
- repo: https://github.com/pycqa/pylint
23-
rev: v3.2.7
23+
rev: v3.3.1
2424
hooks:
2525
- id: pylint
2626
additional_dependencies:

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ disable = [
124124
"too-many-instance-attributes",
125125
"too-many-lines",
126126
"too-many-locals",
127+
"too-many-positional-arguments",
127128
"too-many-public-methods",
128129
"too-many-statements",
129130
"unsubscriptable-object",

requirements-lint.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ commitizen==3.29.0
55
flake8==7.1.1
66
isort==5.13.2
77
mypy==1.11.2
8-
pylint==3.2.7
8+
pylint==3.3.1
99
pytest==8.3.3
1010
responses==0.25.3
1111
respx==0.21.1

0 commit comments

Comments
 (0)