-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
acceptedReady for implementationReady for implementationhelp wantedContributions especially welcomeContributions especially welcomeruleImplementing or modifying a lint ruleImplementing or modifying a lint rule
Description
Ruff 0.8.0 ignores ambiguous-variable-name (E741) automatically in pyi files. This prompted me to look at other rules I disable specifically for .pyi files and found the following which I think should apply in all cases:
PLR0904https://docs.astral.sh/ruff/rules/too-many-public-methods/PLR0913https://docs.astral.sh/ruff/rules/too-many-arguments/PLR0917https://docs.astral.sh/ruff/rules/too-many-positional-arguments/PLW3201https://docs.astral.sh/ruff/rules/bad-dunder-method-name/SLOThttps://docs.astral.sh/ruff/rules/#flake8-slots-slotFBThttps://docs.astral.sh/ruff/rules/#flake8-boolean-trap-fbt- Possibly some of
Ahttps://docs.astral.sh/ruff/rules/#flake8-builtins-a - Maybe
PLC2701https://docs.astral.sh/ruff/rules/import-private-name/
I haven't gone back and validated if these still trigger in stub files since I added them to our shared config, sorry if I tagged a rule that's already ignored.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
acceptedReady for implementationReady for implementationhelp wantedContributions especially welcomeContributions especially welcomeruleImplementing or modifying a lint ruleImplementing or modifying a lint rule