-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Run linters/docs on Windows and macOS #7520
Conversation
b8daede
to
f6fe88a
Compare
This ensures that contributors on any of the major platforms can run our linting and doc building checks without any changes.
f6fe88a
to
4d1fd08
Compare
Sphinx expects the "document name" field to be normalized with respect to slashes (all /), so we now do this in a portable way for Windows.
Previously we were making unguarded calls to non-Windows-only APIs. Mypy only automatically excludes these from platform-specific checks when inside conditions.
f6a33b3
to
8dc6919
Compare
Re mypy: how about an |
In which case specifically? |
3517432
to
8dc6919
Compare
Removing the request for my review, since I'm not sure if I'm the right person for reviewing this. That said, this does look OK to me.
I think that was a prematurely posted comment, sorry about that. I'm not sure what I was referring to there, since none of the call sites seem to be "not-windows" code paths. |
Thank you for the reviews. |
This ensures that contributors on any of the major platforms can run our
linting and doc building checks without any changes.