-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Fix mypy on Windows #7803
Copy link
Copy link
Closed as not planned
Labels
area: code healtharea: mypyarea: testingarea: toolingneeds-updatepriority: significantIssues with higher than average priority that do not need to be in the current milestone.Issues with higher than average priority that do not need to be in the current milestone.
Metadata
Metadata
Assignees
Labels
area: code healtharea: mypyarea: testingarea: toolingneeds-updatepriority: significantIssues with higher than average priority that do not need to be in the current milestone.Issues with higher than average priority that do not need to be in the current milestone.
If you run
mypyon Windows (or use--platformto makemypybehave like its on Windows), you'll get the following errors:(The last error only shows up for me after fixing the first errors.)
I think we should probably fix these issues so our
mypytests can be run successfully on any OS. I think this is preferred so our code is tested in more scenarios and it really works on any platform. Alternatively, we could specifyplatforminmypy.iniwhich would tellmypyto treat the code like its running on that platform regardless of the underlying OS.