Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add error code to Mypy message #41

Merged
merged 1 commit into from Apr 6, 2022

Conversation

patrick91
Copy link
Contributor

@patrick91 patrick91 commented Apr 5, 2022

This PR adds support for error codes in Mypy.

So instead of just adding # type: ignore we now add # type: ignore[misc] :)

I also changed the regex to use named groups so it is easier to read (and thanks to @BryceBeagle for helping me with it) :D

Ideally we should add support for error codes when removing type ignore comments, but I can do that in another PR :)

@patrick91 patrick91 force-pushed the feature/error-codes branch 3 times, most recently from 42fc700 to b5ffed6 Compare April 5, 2022 17:18
@whtsky whtsky merged commit a4fe1e2 into whtsky:master Apr 6, 2022
@patrick91 patrick91 deleted the feature/error-codes branch April 6, 2022 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants