Untyped definitions and calls
For more information, see the Untyped definitions and callssection of the command line docs.
disallow_untyped_calls
(bool, default False)- Disallows calling functions without type annotations from functions with typeannotations.
disallow_untyped_defs
(bool, default False)- Disallows defining functions without type annotations or with incomplete typeannotations.
disallow_incomplete_defs
(bool, default False)- Disallows defining functions with incomplete type annotations.
check_untyped_defs
(bool, default False)- Type-checks the interior of functions without type annotations.
disallow_untyped_decorators
(bool, default False)- Reports an error whenever a function with type annotations is decorated with adecorator without annotations.