-
Notifications
You must be signed in to change notification settings - Fork 7
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 CLI on Windows #548
Run CLI on Windows #548
Conversation
Codecov Report
@@ Coverage Diff @@
## master #548 +/- ##
==========================================
+ Coverage 91.09% 91.28% +0.18%
==========================================
Files 40 40
Lines 3021 3040 +19
Branches 393 398 +5
==========================================
+ Hits 2752 2775 +23
+ Misses 202 200 -2
+ Partials 67 65 -2 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks great for me
@@ -18,6 +19,10 @@ | |||
from .utils import Context, DeprecatedGroup, MainGroup, alias, format_example | |||
|
|||
|
|||
if sys.platform == "win32": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if sys.platform == "win32": | |
if WIN32: |
minor.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The constant is intentional: mypy
calculates explicit constant comparison correctly but skips the second version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏
No description provided.