forked from python/mypy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Recategorize and document
--warn-incomplete-stub
(python#5555)
* Recategorize and document --warn-incomplete-stub Previously, the `--warn-incomplete-stub` flag was inconsistently documented: it was missing from the "Mypy command line" section of the docs, but was documented in the "Mypy configuration file" section and appeared under "Untyped definitions and calls" section when running `mypy --help`. This pull request: 1. Adds documentation for this flag to the command line docs. 2. Recategorizes the flag to fall under "Mypy internals" -- I can't really see people other then typeshed contributors finding this flag useful. 3. Updates the docs so it states this flag is useful only when using `--disallow-incomplete-defs` or `--disallow-untyped-defs` instead of `--check-untyped-defs`. This option appears to be used [only once in checker.py][0] -- the `check_untyped_defs` option does not seem relevant there. [0]: https://github.com/python/mypy/blob/master/mypy/checker.py#L947
- Loading branch information
1 parent
0e4c869
commit 581e514
Showing
3 changed files
with
20 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters