Skip to content
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

Merged
merged 56 commits into from
Feb 28, 2019
Merged

Run CLI on Windows #548

merged 56 commits into from
Feb 28, 2019

Conversation

asvetlov
Copy link
Contributor

No description provided.

@codecov
Copy link

codecov bot commented Feb 22, 2019

Codecov Report

Merging #548 into master will increase coverage by 0.18%.
The diff coverage is n/a.

Impacted file tree graph

@@            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
Impacted Files Coverage Δ
python/neuromation/cli/login.py
python/neuromation/cli/__init__.py
python/neuromation/cli/formatters/config.py
python/neuromation/cli/completion.py
python/neuromation/client/__init__.py
python/neuromation/cli/version_utils.py
python/neuromation/client/images.py
python/neuromation/client/jobs.py
python/neuromation/client/parsing_utils.py
python/neuromation/cli/share.py
... and 63 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 12025c1...7b40002. Read the comment docs.

@asvetlov asvetlov marked this pull request as ready for review February 28, 2019 12:34
@asvetlov asvetlov changed the title Add appveyor config Run CLI on Windows Feb 28, 2019
Copy link

@truskovskiyk truskovskiyk left a 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":
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if sys.platform == "win32":
if WIN32:

minor.

Copy link
Contributor Author

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.

Copy link
Contributor

@dalazx dalazx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

@asvetlov asvetlov merged commit cb419a9 into master Feb 28, 2019
@asvetlov asvetlov deleted the windows branch February 28, 2019 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants