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

chore: update mypy and move to toml #547

Merged
merged 2 commits into from
May 12, 2022

Conversation

henryiii
Copy link
Contributor

This:

  • Updates mypy to 0.950
  • Uses pyproject.toml insted of mypy.ini - nicer config, fewer files
  • Uses strict = true instead of the long list (supported last few versions)
  • Uses more precise include ignoring, and includes a couple of typing requirements
    • Exposes a variable type change, fixed
  • Adds a few extra (easy) strictness and config flags. Didn't add unreachable, since it was more involved.

Noticed while working on #546.

This:

* Updates mypy to 0.950
* Uses pyproject.toml insted of mypy.ini - nicer config, fewer files
* Uses `strict = true` instead of the long list (supported last few versions)
* Uses more precise include ignoring, and includes a couple of typing requirements
    * Exposes a variable type change, fixed
* Adds a few extra (easy) strictness and config flags. Didn't add unreachable, since it was more involved.

Signed-off-by: Henry Schreiner <[email protected]>
@brettcannon brettcannon merged commit 6da5d33 into pypa:main May 12, 2022
@brettcannon
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants