-
-
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 documented at
https://mypy.readthedocs.io/en/latest/command_line.html
is different from the order the similarly named options are documented at
https://mypy.readthedocs.io/en/latest/config_file.html.
This inconsistency could be confusing.
In particular:
-
--warn-unused-configsoption is described in the beginning of the documentation inConfig filesection, butwarn_unused_configsoption is described in the end of the documentation inMiscellaneoussection.
(WONTFIX) -
in
Import discoverysection the order of listing options is different.
(FIXED) -
--no-site-packagesoption is described in command line documentation, but is not mentioned in config file documentation and is not really working in config file.
(WONTFIX until Expose--no-site-packagesto configuration file. #7768 is resolved) -
In
Platform configurationsection the order of listing options is different.
(FIXED) -
--warn-redundant-castsoption is listed underConfiguring warningssection in command line documentation, but underMiscellaneoussection in config file documentation.
(FIXED) -
--allow-untyped-globalsoptions is not mentioned in config file documentation.
(FIXED) -
--strict-optional-whitelist,--pretty,--sqlite-cache,--cache-fine-grained,--skip-cache-mtime-checks,--raise-exceptions, options are not mentioned in config file documentation.
(FIXED) -
--lineprecision-report,--memory-xml-report,--xml-reportoptions are not mentioned in neither config file documentation nor command line documentation.
(FIXED, requires followup after Some Report generation options are undocumented #7775 is resolved) -
--custom-typingoption is namedcustom_typing_modulein config file documentation.
(WONTFIX until --custom-typing command line option is named custom_typing_module in config file #7772 is resolved) -
Report generationsection options are missing from config file documentation.
(FIXED) -
follow_imports_for_stubs,show_none_errors,ignore_errorsoptions are not mentioned in neither command line documentation nor in--help.
(WONTFIX until Command line options for suppressing errors are not available #7774 is resolved) -
no_implicit_optionalandno_silence_site_packagesoptions should probably be documented withoutno_. Also, options withoutno_are not actually working, while they probably should.
(WONTFIX until Some command line / config file options are not reversable #7773 is resolved) -
new_semantic_analyzeroption should probably be removed from the config file documentation.
(FIXED)