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

[unclear documentation] Are incomplete type annotations allowed under --disallow-untyped-defs? #12693

Closed
beauxq opened this issue Apr 28, 2022 · 1 comment

Comments

@beauxq
Copy link

beauxq commented Apr 28, 2022

Documentation

The config file documentation specifies that incomplete type annotations are not allowed under disallow_untyped_defs https://mypy.readthedocs.io/en/stable/config_file.html#confval-disallow_untyped_defs

But the command line documentation https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-disallow-untyped-defs does not specify whether incomplete type annotations are allowed.

Is the command line option different from the config file option?

semi-related functionality issue about whether incomplete type annotations are allowed under disallow-untyped-defs: #12256

@dibrinsofor
Copy link

was this ever handled?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants