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

Resolves #10538; add security documentation for --install-types #10555

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 7 additions & 4 deletions docs/source/command_line.rst
Expand Up @@ -876,8 +876,11 @@ Miscellaneous

This flag causes mypy to install known missing stub packages for
third-party libraries using pip. It will display the pip command
line to run, and expects a confirmation before installing
anything.
that will be run, and expects a confirmation before installing
anything. For security reasons, these stubs are limited to only a
small subset of manually selected packages that have been
verified by the typeshed team. These packages include only stub
files and no executable code.

If you use this option without providing any files or modules to
type check, mypy will install stub packages suggested during the
Expand All @@ -889,8 +892,8 @@ Miscellaneous
.. note::

This is new in mypy 0.900. Previous mypy versions included a
selection of third-party package stubs, instead of having them
installed separately.
selection of third-party package stubs, instead of having
them installed separately.

.. option:: --junit-xml JUNIT_XML

Expand Down