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

Support --install-types --non-interactive that doesn't prompt #10616

Merged
merged 1 commit into from
Jun 10, 2021

Conversation

JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Jun 10, 2021

It also doesn't show errors, making it useful in CI jobs.

Example:

$ mypy --install-types --non-interactive -c 'import click'
Installing missing stub packages:
/Users/jukka/venv/mypy/bin/python3 -m pip install types-click

Collecting types-click
  Using cached types_click-7.1.0-py2.py3-none-any.whl (13 kB)
Installing collected packages: types-click
Successfully installed types-click-7.1.0

Work on #10600.

It also doesn't show errors, making it useful for running CI jobs.

Work on #10600.
@JukkaL JukkaL merged commit 5080053 into master Jun 10, 2021
@JukkaL JukkaL deleted the install-stubs-non-interactive branch June 10, 2021 12:52
@JukkaL JukkaL mentioned this pull request Jun 10, 2021
JukkaL added a commit that referenced this pull request Jun 21, 2021
It also doesn't show errors, making it useful in CI jobs.

Example:
```
$ mypy --install-types --non-interactive -c 'import click'
Installing missing stub packages:
/Users/jukka/venv/mypy/bin/python3 -m pip install types-click

Collecting types-click
  Using cached types_click-7.1.0-py2.py3-none-any.whl (13 kB)
Installing collected packages: types-click
Successfully installed types-click-7.1.0
```

Work on #10600.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants