forked from keylime/keylime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmypy.ini
77 lines (60 loc) · 1.68 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
67
68
69
70
71
72
73
74
75
76
77
[mypy]
plugins = sqlmypy
strict = True
follow_imports = silent
ignore_missing_imports = True
disable_error_code = unused-ignore
# Enumeration of files and directories that are not checked
[mypy-keylime.da.*]
ignore_errors = True
[mypy-keylime.db.registrar_db]
ignore_errors = True
[mypy-keylime.db.verifier_db]
ignore_errors = True
[mypy-keylime.migrations.*]
ignore_errors = True
[mypy-keylime.backport_dataclasses]
ignore_errors = True
[mypy-keylime.tpm_bootlog_enrich]
ignore_errors = True
[mypy-keylime.da.examples.*]
ignore_errors = True
# All other files are fully checked, some with special options
[mypy-keylime.models.*]
disallow_untyped_defs = False
disallow_incomplete_defs = False
check_untyped_defs = False
warn_no_return = False
disable_error_code = name-defined, has-type
[mypy-keylime.models.base.*]
disallow_untyped_defs = True
disallow_incomplete_defs = True
check_untyped_defs = True
warn_no_return = True
enable_error_code = name-defined, has-type
disable_error_code = type-arg
[mypy-keylime.web.*]
disallow_untyped_defs = False
disallow_incomplete_defs = False
warn_no_return = False
implicit_reexport = True
[mypy-keylime.web.base.*]
disallow_untyped_defs = True
disallow_incomplete_defs = True
warn_no_return = True
[mypy-keylime.cloud_verifier_tornado]
ignore_errors = False
no_warn_unused_ignores = True
[mypy-keylime.ima.file_signatures]
ignore_errors = False
no_warn_unused_ignores = True
[mypy-keylime.ima.ima_dm]
ignore_errors = False
implicit_reexport= True
# Lark does not add type hints to its decorators, so we ignore it for now.
allow_untyped_decorators = True
[mypy-keylime.json]
ignore_errors = False
no_warn_unused_ignores = True
[mypy-keylime.*]
ignore_errors = False