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: upgrade to mypy 0.902 #455

Merged
merged 3 commits into from Jun 20, 2021
Merged

Conversation

henryiii
Copy link
Collaborator

@henryiii henryiii commented Jun 15, 2021

Uses the new pyproject.toml MyPy configuration and much tighter checking, nearly --strict. I only left about two strict flags turned off.

noxfile.py Show resolved Hide resolved
Uses the new pyproject.toml configuration and much tighter checking, nearly --strict
Copy link
Collaborator

@cjolowicz cjolowicz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lovely, thank you!

I left a comment about the coverage failure in CI (we should just disable it for these lines). Also, I'd prefer to separate the switch to PEP-517 from this PR. And having some small doubts about the use of Literal.

Overall, this is great, thanks again!

nox/command.py Outdated Show resolved Hide resolved
nox/command.py Show resolved Hide resolved
pyproject.toml Show resolved Hide resolved
setup.py Show resolved Hide resolved
This was referenced Jun 15, 2021
Copy link
Collaborator

@cjolowicz cjolowicz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merge after #456

thanks @henryiii

@cjolowicz
Copy link
Collaborator

@theacodes @crwilcox
I'll merge #455, #456, and #457 on the weekend if there are no concerns from anybody.

@layday
Copy link
Contributor

layday commented Jun 20, 2021

Would need to rebase this on top of #457 or vice versa to handle the added dependency.

@cjolowicz cjolowicz merged commit 4ea2051 into wntrblm:main Jun 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants