-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
dmypy does not recheck files when they are removed and then re-added. #5343
Labels
Comments
Self-assigning this because I'm about to rampage through the relevant code and think a fix for this might come out the other end. |
This might have gotten fixed though? |
This still seems to be an issue. I was able to reproduce the problem with using |
ilevkivskyi
added a commit
that referenced
this issue
Jun 15, 2023
Fixes #5343 Fixes #12249 This can potentially slow down runs in situations where multiple unchanged files are re-added to source list. Potentially, we can track whether modules had errors permanently (not just from previous run), and then only re-check those unchanged re-added files that had errors before. I am not sure if this is important.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Bug
or a mock-up repro if the source is private. We would appreciate
if you try to simplify your case to a minimal repro.
In a folder, have two files
test1.py
andtest2.py
. Contents are:test1.py:
test2.py:
I expect that files are rechecked and errors re-outputted after being removed and then re-added to
dmypy
.mypy 0.610, python 3.6.3
The text was updated successfully, but these errors were encountered: