-
Notifications
You must be signed in to change notification settings - Fork 0
/
mypy.ini
66 lines (60 loc) · 1.27 KB
/
mypy.ini
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
[mypy]
python_version = 3.7
files = server/
follow_imports = normal
ignore_missing_imports = true
cache_dir = .mypy_cache
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
explicit_package_bases = true
check_untyped_defs = true
disallow_subclassing_any = true
no_implicit_optional = true
no_implicit_reexport = true
strict_optional = true
strict_equality = true
show_error_codes = true
warn_unused_ignores = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_no_return = true
warn_unused_configs = true
disallow_any_generics = true
disallow_any_explicit = true
disallow_untyped_decorators = true
allow_untyped_globals = false
allow_untyped_calls = false
allow_redefinition = false
local_partial_types = true
implicit_reexport = false
enable_error_code =
arg-type,
assignment,
attr-defined,
has-type,
index,
list-item,
misc,
name-defined,
operator,
return,
str-format,
type-arg,
type-var,
union-attr,
var-annotated,
override,
func-returns-value,
no-redef,
truthy-bool,
redundant-expr,
unused-awaitable,
ignore-without-code
[mypy-tests.*]
ignore_errors = true
[mypy-svst.parsing]
ignore_errors = true
[mypy-build.*]
ignore_errors = true