forked from samuelcolvin/python-devtools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmypy.ini
More file actions
78 lines (63 loc) · 1.64 KB
/
mypy.ini
File metadata and controls
78 lines (63 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
[mypy]
# Import discovery
mypy_path = devtools
namespace_packages = true
# Disallow dynamic typing
disallow_any_unimported = true
disallow_any_expr = false
disallow_any_decorated = false
disallow_any_explicit = false
disallow_any_generics = false
disallow_subclassing_any = true
# Untyped definitions and calls
disallow_untyped_calls = false
disallow_untyped_defs = false
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
# None and Optional handling
no_implicit_optional = true
strict_optional = true
# Configuring warning
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_return_any = false
warn_unreachable = true
# Suppressing errors
show_none_errors = true
ignore_errors = false
# Miscellaneous strictness flags
allow_untyped_globals = false
allow_redefinition = false
implicit_reexport = false
strict_equality = true
# Configuring error messages
show_error_context = true
show_column_numbers = true
show_error_codes = true
pretty = true
color_output = true
error_summary = true
show_absolute_path = true
# Advanced options
show_traceback = true
raise_exceptions = true
# Miscellaneous
warn_unused_configs = true
verbosity = 0
#
# Please do not add any additional mypy ignores in this section!
#
[mypy-devtools.utils]
# FIXME: Remove this ignore after fixing type errors.
ignore_errors = true
[mypy-devtools.prettier]
# FIXME: Remove this ignore after fixing type errors.
ignore_errors = true
[mypy-devtools.ansi]
# FIXME: Remove this ignore after fixing type errors.
ignore_errors = true
[mypy-devtools.debug]
# FIXME: Remove this ignore after fixing type errors.
ignore_errors = true