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 mypy-self-check to pre-commit #15084

Closed
wants to merge 1 commit into from

Conversation

ikonst
Copy link
Contributor

@ikonst ikonst commented Apr 19, 2023

The checks seem to be pretty fast (even with pass_filenames: false — ref #12373) so I think they'd be a good idea.

@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@hauntsaninja
Copy link
Collaborator

Thanks, but I'd prefer not to do this. While pre-commit + mypy can work well, it often doesn't, see #13916.

By having this be the way we run self check, users will think this is the recommended way to run mypy, which is not an expectation I'm comfortable users having.

@ikonst ikonst deleted the pre-commit-self-check branch April 20, 2023 19:33
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