File tree Expand file tree Collapse file tree 5 files changed +15
-0
lines changed
data/messages/t/too-many-positional Expand file tree Collapse file tree 5 files changed +15
-0
lines changed Original file line number Diff line number Diff line change
1
+ Reserved message name, not yet implemented.
Original file line number Diff line number Diff line change
1
+ - `Ruff discussion <https://github.com/astral-sh/ruff/issues/8946 >`_
2
+ - `Pylint issue <https://github.com/pylint-dev/pylint/issues/9099 >`_
Original file line number Diff line number Diff line change @@ -431,6 +431,10 @@ Design checker Messages
431
431
simpler (and so easier to use) class.
432
432
:too-many-locals (R0914): *Too many local variables (%s/%s) *
433
433
Used when a function or method has too many local variables.
434
+ :too-many-positional (R0917): *Too many positional arguments in a function call. *
435
+ Will be implemented in https://github.com/pylint-
436
+ dev/pylint/issues/9099,msgid/symbol pair reserved for compatibility with
437
+ ruff, see https://github.com/astral-sh/ruff/issues/8946.
434
438
:too-many-public-methods (R0904): *Too many public methods (%s/%s) *
435
439
Used when class has too many public methods, try to reduce this to get a
436
440
simpler (and so easier to use) class.
Original file line number Diff line number Diff line change @@ -532,6 +532,7 @@ All messages in the refactor category:
532
532
refactor/too-many-instance-attributes
533
533
refactor/too-many-locals
534
534
refactor/too-many-nested-blocks
535
+ refactor/too-many-positional
535
536
refactor/too-many-public-methods
536
537
refactor/too-many-return-statements
537
538
refactor/too-many-statements
Original file line number Diff line number Diff line change 81
81
"too-many-boolean-expressions" ,
82
82
"Used when an if statement contains too many boolean expressions." ,
83
83
),
84
+ "R0917" : (
85
+ "Too many positional arguments in a function call." ,
86
+ "too-many-positional" ,
87
+ "Will be implemented in https://github.com/pylint-dev/pylint/issues/9099,"
88
+ "msgid/symbol pair reserved for compatibility with ruff, "
89
+ "see https://github.com/astral-sh/ruff/issues/8946." ,
90
+ ),
84
91
}
85
92
SPECIAL_OBJ = re .compile ("^_{2}[a-z]+_{2}$" )
86
93
DATACLASSES_DECORATORS = frozenset ({"dataclass" , "attrs" })
You can’t perform that action at this time.
0 commit comments