-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
addressed in next versionIssue is fixed and will appear in next published versionIssue is fixed and will appear in next published versionenhancement requestNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
I would like pyright to report unecessary pyright: ignore comments. But completely leave alone type: ignore in libraries I'm validating against both mypy and pyright.
The following config still reports Unnecessary "# type: ignore" comment
With "enableTypeIgnoreComments": true, any # type: ignore[whatever] will disable all pyright errors for that line. And will also report if added to a line with a mypy-only error-code.
Describe the solution you'd like
A way for pyright to stop checking # type: ignore comments completely. (but not pyright: ignore)
RobertCraigie, Avasam, vors, ippeiukai, d184230 and 2 more
Metadata
Metadata
Assignees
Labels
addressed in next versionIssue is fixed and will appear in next published versionIssue is fixed and will appear in next published versionenhancement requestNew feature or requestNew feature or request