Skip to content

Conversation

@WnRock
Copy link
Contributor

@WnRock WnRock commented Dec 23, 2024

Fixes #15795

In cmd_recheck function of dmypy_server.py, when remove or update is provided, the sources list is altered appropriately. After that, however, there is no mechanism (nor should there be) to reset remove and update to None. The presence of remove or update being non-None is expected in scenarios where files are specifically being removed or updated. Thus, asserting them to be None contradicts their usage.

@github-actions
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 recheck --update crashes

1 participant