-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Description
mypy 0.740
The order in which the command line options are described is different in --help output and in the documentation at https://mypy.readthedocs.io/en/latest/command_line.html, and section names also differ. This inconsistency could be confusing.
Particularly:
-
In
Import discoverysection,--named-packagesoption goes first in the documentation, but last in--help.
(FIXED) -
Disallow dynamic typingsection in the documentation is namedDynamic typingin--help.
(FIXED) -
In
Disallow dynamic typingsection,--disallow-subclassing-anyoption goes last in the documentation, but second in--help.
(FIXED) -
--strict-optional-whitelistoption is not mentioned in the documentation.
(FIXED) -
Configuring warningssection in the documentation is namedWarningsin--help.
(FIXED) -
Miscellaneous strictness flagssection in the documentation is namedOther strictness checksin--help.
(FIXED) -
In
Miscellaneous strictness flagssection,--strict-equalityoption goes after--no-implicit-reexportoption in the documentation, but before it in--help.
(FIXED) -
Configuring error messagesgoes afterMiscellaneous strictness flagssection in the documentation, but afterMypy internalsin--help.
(FIXED) -
Configuring error messagesin the documentation is namedError reportingin--help.
(FIXED) -
--prettyoption is not mentioned in the documentation.
(FIXED) -
--sqlite-cache,--cache-fine-grained,--skip-cache-mtime-checksare not mentioned in the documentation.
(FIXED) -
Advanced flagssection in the documentation is namedMypy internalsin--help.
(FIXED) -
--raise-exceptionsoption is not mentioned in the documentation.
(FIXED) -
In
Report generationsection the order of options is different in the documentation and in--help.
(FIXED) -
--junit-xmlbelongs to sectionReport generationin the documentation, but to sectionMiscellaneousin--help.
(FIXED) -
--lineprecision-report,--memory-xml-report,--xml-reportoptions are not mentioned in the documentation.
(FIXED, requires followup after Some Report generation options are undocumented #7775 is resolved) -
In
Miscellaneoussection,--scripts-are-modulesoption goes before--find-occurrencesin the documentation, but after it in--help.
(FIXED) -
--verbose,--versionoptions are not mentioned in the documentation.
(FIXED)