Lessen dmypy suggest path limitations for Windows machines by CoolCat467 · Pull Request #19337 · python/mypy
changed the title
Lessen dmypy suggest path limitations for Windows machine
Lessen dmypy suggest path limitations for Windows machines
esarp pushed a commit that referenced this pull request
Jul 10, 2025In this pull request, we allow dmypy suggest absolute paths to contain the drive letter colon for Windows machines. Fixes #19335. This is done by changing how `find_node` works slightly, allowing there to be at most two colon (`:`) characters in the passed key for windows machines instead of just one like on all other platforms, and then using `rsplit` and a split limit of 1 instead of just `split` like prior. --------- Co-authored-by: Stanislav Terliakov <50529348+sterliakov@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters