-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
can check files that dont exist
#18111
Comments
dmpy
can check files that dont existdmypy
can check files that dont exist
Hi! I'm new to the project and currently exploring the issue you reported. As I familiarize myself with the codebase, I noticed something in the
which filters out directories and paths that are not valid files, but it doesn't raise an error or report any issues when a path is invalid. This might be why dmypy reports success (cached previously) even when the new file doesn't exist, as it silently ignores non-existent paths, thus Since I'm still getting up to speed with the project, I'm unsure if this behavior is intentional or if it would be appropriate to modify it to raise an If this revision is deemed appropriate, I would be interested in fixing it. I’m eager to contribute and learn more about the project! |
i'm not familiar with this portion of the codebase, but one aspect that seems interesting here is what causes a match with the cache if the paths are different? is it going off module name resolution or something? i'd say go for it, make that change and make a PR, then we can review it and see how it behaves |
Raise `InvalidSourceList` error if new source file is not found Fixes python#18111
Hi there! Thank you for your encouragement and insights. From what I understand, it’s not so much about matching non-existent file paths to existing ones, but rather that Thanks again! |
given
The text was updated successfully, but these errors were encountered: