-
Notifications
You must be signed in to change notification settings - Fork 273
Closed
astral-sh/ruff
#24096Labels
configurationRelated to settings and configurationRelated to settings and configurationsuppressionRelated to supression of violations e.g. ty:ignoreRelated to supression of violations e.g. ty:ignore
Milestone
Description
Summary
To disable a rule on a line, I could do:
foo() # ty: ignore[call-non-callable]I can also disable type checking on the whole file by adding on the beginning of the file:
# type: ignoreIt could be very practical allow a mix of both behaviors: disabling a specific rule for a whole file, by adding on the beginning of the file:
# ty: ignore[call-non-callable]Version
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
configurationRelated to settings and configurationRelated to settings and configurationsuppressionRelated to supression of violations e.g. ty:ignoreRelated to supression of violations e.g. ty:ignore