File tree 1 file changed +7
-4
lines changed 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -876,8 +876,11 @@ Miscellaneous
876
876
877
877
This flag causes mypy to install known missing stub packages for
878
878
third-party libraries using pip. It will display the pip command
879
- line to run, and expects a confirmation before installing
880
- anything.
879
+ that will be run, and expects a confirmation before installing
880
+ anything. For security reasons, these stubs are limited to only a
881
+ small subset of manually selected packages that have been
882
+ verified by the typeshed team. These packages include only stub
883
+ files and no executable code.
881
884
882
885
If you use this option without providing any files or modules to
883
886
type check, mypy will install stub packages suggested during the
@@ -889,8 +892,8 @@ Miscellaneous
889
892
.. note ::
890
893
891
894
This is new in mypy 0.900. Previous mypy versions included a
892
- selection of third-party package stubs, instead of having them
893
- installed separately.
895
+ selection of third-party package stubs, instead of having
896
+ them installed separately.
894
897
895
898
.. option :: --junit-xml JUNIT_XML
896
899
You can’t perform that action at this time.
0 commit comments