hauntsaninja / mypy_primer

Run mypy and pyright over millions of lines of code
MIT License
55 stars 29 forks source link

Allow primer to run on Windows #55

Closed Avasam closed 1 year ago

Avasam commented 1 year ago

Fixes the following issue: FileNotFoundError: [WinError 3] The system cannot find the path specified: 'E:\\tmp\\mypy_primer' By using the OS' temp folder.

Fixes the mypy.exe expected location (from /bin/mypy to /scripts/mypy.exe on windows)

Ensure utf-8 encoding

FIx --soft-error-limit ' -1' becomming --soft-error-limit \' -1\' error in powershell

Fixed windows backward slashes in path resulting in bad escape regex errors.