Skip to content

Fix re-added file with errors in mypy daemon - #15440

Merged
ilevkivskyi merged 2 commits into
python:masterfrom
ilevkivskyi:fix-daemon-readd
Jun 15, 2023
Merged

ilevkivskyi merged 2 commits into
python:masterfrom
ilevkivskyi:fix-daemon-readd

Conversation

@ilevkivskyi

@ilevkivskyi ilevkivskyi commented Jun 14, 2023 •

Copy link
Copy Markdown
Member

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.

@ilevkivskyi
ilevkivskyi requested review from JukkaL and svalentin June 14, 2023 23:44
@github-actions

Copy link
Copy Markdown
Contributor

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

@ilevkivskyi
ilevkivskyi merged commit ceb4d7f into python:master Jun 15, 2023
@ilevkivskyi
ilevkivskyi deleted the fix-daemon-readd branch June 15, 2023 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants