forked from Yelp/paasta
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mypy.ini
107 lines (75 loc) · 2.62 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
[mypy]
python_version = 3.8
check_untyped_defs = False
warn_incomplete_stub = True
follow_imports = silent
ignore_missing_imports = True
mypy_path = stubs
# strict_optional is on by default in mypy 0.600, but I don't want to deal with that change yet.
strict_optional = False
[mypy-paasta_tools.*]
ignore_missing_imports = False
[mypy-tests.*]
# Only specific test files (defined in tox.ini) will be checked, so let's check everything in those.
check_untyped_defs = True
[mypy-paasta_tools.paastaapi.*]
ignore_errors = True
[mypy-paasta_tools.utils]
# utils.py is imported all over the place, so it's good to have type annotations on everything in it.
disallow_untyped_defs = True
[mypy-paasta_tools.kubernetes_tools]
disallow_untyped_defs = True
[mypy-paasta_tools.flink_tools]
disallow_untyped_defs = True
[mypy-paasta_tools.check_services_replication_tools]
disallow_untyped_defs = True
[mypy-paasta_tools.check_kubernetes_services_replication]
disallow_untyped_defs = True
[mypy-paasta_tools.check_flink_services_health]
disallow_untyped_defs = True
[mypy-paasta_tools.long_running_service_tools]
disallow_untyped_defs = True
[mypy-paasta_tools.marathon_tools]
disallow_untyped_defs = True
[mypy-paasta_tools.setup_kubernetes_job]
disallow_untyped_defs = True
[mypy-paasta_tools.cleanup_kubernetes_cr]
disallow_untyped_defs = True
[mypy-paasta_tools.metrics.metrics_lib]
disallow_untyped_defs = True
[mypy-paasta_tools.secret_tools]
disallow_untyped_defs = True
[mypy-paasta_tools.secret_providers]
disallow_untyped_defs = True
[mypy-paasta_tools.secret_providers.vault]
disallow_untyped_defs = True
[mypy-paasta_tools.frameworks]
disallow_untyped_defs = True
[mypy-paasta_tools.generate_deployments_for_service]
disallow_untyped_defs = True
[mypy-paasta_tools.drain_lib]
disallow_untyped_defs = True
[mypy-paasta_tools.smartstack_tools]
disallow_untyped_defs = True
[mypy-paasta_tools.envoy_tools]
disallow_untyped_defs = True
[mypy-paasta_tools.contrib.*]
ignore_errors = True
[mypy-paasta_tools.contrib.get_running_task_allocation]
ignore_errors = False
[mypy-paasta_tools.cli.cmds.cook_image]
disallow_untyped_defs = True
[mypy-paasta_tools.cli.cmds.mark_for_deployment]
disallow_untyped_defs = True
[mypy-paasta_tools.setup_kubernetes_internal_crd]
disallow_untyped_defs = True
[mypy-paasta_tools.cli.cmds.push_to_registry]
disallow_untyped_defs = True
[mypy-paasta_tools.cli.cmds.rollback]
disallow_untyped_defs = True
[mypy-paasta_tools.cli.cmds.get_image_version]
disallow_untyped_defs = True
[mypy-paasta_tools.dump_locally_running_services]
disallow_untyped_defs = True
[mypy-paasta_tools.instance.kubernetes]
disallow_untyped_defs = True