-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
Enhancement ✨Improvement to a componentImprovement to a componentNeeds PRThis issue is accepted, sufficiently specified and now needs an implementationThis issue is accepted, sufficiently specified and now needs an implementation
Description
Current problem
Sometimes a pragmas comment increases the line length to the point of triggering Pylint line-too-long warning.
Desired solution
Pylint should ignore those:
VERY_LONG_VARIABLE_NAME_YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY: float
VERY_LONG_VARIABLE_NAME_YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY = 42424 # type: ignore
VERY_LONG_VARIABLE_NAME_ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ = "test" # noqa: E501
another_long_variable_name = "zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz" # noqa: E501, RUF001 # pragma: no cover
another_long_variable_name = "yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy" # pylint: disable=C901
Additional context
Based on #8378
Metadata
Metadata
Assignees
Labels
Enhancement ✨Improvement to a componentImprovement to a componentNeeds PRThis issue is accepted, sufficiently specified and now needs an implementationThis issue is accepted, sufficiently specified and now needs an implementation