Skip to content

Add dmypy watch command #18985

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

NiclasvanEyk
Copy link

Fixes #13033

This PR adds the dmypy watch command. It is basically the same as running dmypy check FILES and then dmypy recheck every X seconds (defaults to 1). Here is a short video of it in action:

Screen.Recording.2025-04-27.at.20.50.36.mov

Haven't written any tests yet, but I plan to do that over the course of the week.

Copy link
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

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.

(🎁) dmypy should have a watch mode (⌚)
1 participant