1[mypy]
2
3# Specifies the Python version used to parse and check the target program
4python_version = 3.9
5
6# Disallows defining functions without type annotations or with incomplete type annotations
7# True => enforce type annotation in all function definitions
8disallow_untyped_defs = True
9
10# Shows a warning when returning a value with type Any from a function declared with a non- Any return type
11warn_return_any = True
12
13# Shows errors for missing return statements on some execution paths
14warn_no_return = True
15
16# Suppress error messages about imports that cannot be resolved
17# True => ignore all import errors
18ignore_missing_imports = True
19
20# Disallows defining functions with incomplete type annotations
21disallow_incomplete_defs = False
22
23# Directs what to do with imports when the imported module is found as a .py file and not part of the files,
24# modules and packages provided on the command line.
25# SKIP -> mypy checks only single file, not included imports
26follow_imports = skip
27