Skip to content

MyPy Error Codes #29197

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

Closed
WillAyd opened this issue Oct 24, 2019 · 1 comment · Fixed by #35311
Closed

MyPy Error Codes #29197

WillAyd opened this issue Oct 24, 2019 · 1 comment · Fixed by #35311
Labels
Typing type annotations, mypy/pyright type checking
Milestone

Comments

@WillAyd
Copy link
Member

WillAyd commented Oct 24, 2019

mypy 0.73 came with support for error codes:

http://mypy-lang.blogspot.com/2019/09/mypy-730-released.html

I think we should add these to CI and update docs to require these going forward for any type: ignore statements

@simonjayhawkins

@WillAyd WillAyd added the Typing type annotations, mypy/pyright type checking label Oct 24, 2019
@simonjayhawkins
Copy link
Member

i did this in 32f1780 but causes F821 errors and needs to be silenced.

reverted after a couple of weeks in 34bf08c as frustrating not having F821 linting in the ide.

so -1 and revisit once flake8 supports mypy errors codes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Typing type annotations, mypy/pyright type checking
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants