Skip to content

Add flags to pass on --warn-unused-ignores and --no-implicit-optional to mypy#1421

Merged
JelleZijlstra merged 4 commits intomasterfrom
mypy-test-flags
Jun 21, 2017
Merged

Add flags to pass on --warn-unused-ignores and --no-implicit-optional to mypy#1421
JelleZijlstra merged 4 commits intomasterfrom
mypy-test-flags

Conversation

@gvanrossum
Copy link
Copy Markdown
Member

In case you wanted to experiment with these.

FWIW before you get excited, --warn-unused-ignores gives hundreds of errors and --no-implicit-optional only gives errors for specific Python versions -- there's always a Python version (or platform?) where the # type: ignore is needed.

@gvanrossum
Copy link
Copy Markdown
Member Author

99 errors left, in {stdlib,third_party}/3 (of which 44 in builtins.pyi). I'll call it a day.

@JelleZijlstra
Copy link
Copy Markdown
Member

Looks good! If I find some time I may fix some more.

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.

2 participants