Skip to content

Commit 35019cb

Browse files
Merge pull request #231 from codacy/bump-pylint-3.3.1
bump pylint 3.3.1
2 parents c700bfb + 12bf39f commit 35019cb

File tree

13 files changed

+106
-28
lines changed

13 files changed

+106
-28
lines changed

docs/description/C1804.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# use-implicit-booleaness-not-comparison-to-string (C1804)
22

3-
"%s" can be simplified to "%s", if it is striclty a string, as an empty
3+
"%s" can be simplified to "%s", if it is strictly a string, as an empty
44
string is falsey Empty string are considered false in a boolean context.
55
Following this check blindly in weakly typed code base can create hard
66
to debug issues. If the value can be something else that is falsey but

docs/description/E0108.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# duplicate-argument-name (E0108)
22

3-
Duplicate argument name %s in function definition Duplicate argument
3+
Duplicate argument name %r in function definition Duplicate argument
44
names in function definitions are syntax errors.

docs/description/E0245.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# declare-non-slot (E0245)
2+
3+
No such name %r in \_\_slots\_\_ Raised when a type annotation on a
4+
class is absent from the list of names in \_\_slots\_\_, and
5+
\_\_slots\_\_ does not contain a \_\_dict\_\_ entry.

docs/description/E0710.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# raising-non-exception (E0710)
22

3-
Raising a new style class which doesn't inherit from BaseException Used
4-
when a new style class which doesn't inherit from BaseException is
5-
raised.
3+
Raising a class which doesn't inherit from BaseException Used when a
4+
class which doesn't inherit from BaseException is raised.

docs/description/R0917.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
# too-many-positional (R0917)
1+
# too-many-positional-arguments (R0917)
22

3-
Too many positional arguments in a function call. Will be implemented in
4-
https://github.com/pylint- dev/pylint/issues/9099,msgid/symbol pair
5-
reserved for compatibility with ruff, see
6-
https://github.com/astral-sh/ruff/issues/8946.
3+
Too many positional arguments (%s/%s) Used when a function has too many
4+
positional arguments.

docs/description/W0212.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22

33
Access to a protected member %s of a client class Used when a protected
44
member (i.e. class member with a name beginning with an underscore) is
5-
access outside the class or a descendant of the class where it's
5+
accessed outside the class or a descendant of the class where it's
66
defined.

docs/description/W2603.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# using-exception-groups-in-unsupported-version (W2603)
2+
3+
Exception groups are not supported by all versions included in the
4+
py-version setting Used when the py-version set by the user is lower
5+
than 3.11 and pylint encounters except\* or ExceptionGroup\`.

docs/description/W2604.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# using-generic-type-syntax-in-unsupported-version (W2604)
2+
3+
Generic type syntax (PEP 695) is not supported by all versions included
4+
in the py-version setting Used when the py-version set by the user is
5+
lower than 3.12 and pylint encounters generic type syntax.

docs/description/W2605.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# using-assignment-expression-in-unsupported-version (W2605)
2+
3+
Assignment expression is not supported by all versions included in the
4+
py-version setting Used when the py-version set by the user is lower
5+
than 3.8 and pylint encounters an assignment expression (walrus)
6+
operator.

docs/description/W2606.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# using-positional-only-args-in-unsupported-version (W2606)
2+
3+
Positional-only arguments are not supported by all versions included in
4+
the py-version setting Used when the py-version set by the user is lower
5+
than 3.8 and pylint encounters positional-only arguments.

0 commit comments

Comments
 (0)