forked from AdaCore/e3-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mypy.ini
72 lines (53 loc) · 1.51 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
[mypy]
mypy_path = src
warn_redundant_casts = True
warn_unused_ignores = True
warn_unused_configs = True
disallow_untyped_calls = True
disallow_untyped_defs = True
warn_unreachable = True
disallow_incomplete_defs = True
disallow_any_unimported = True
disallow_subclassing_any = True
no_implicit_optional = True
[mypy-tests.tests_e3.*]
disallow_untyped_defs = False
# Less strict rules for modules that are not considered part of the core system
[mypy-e3.anod.sandbox.action.*]
disallow_untyped_defs = False
[mypy-e3.anod.sandbox.migrate.*]
disallow_untyped_defs = False
[mypy-e3.anod.sandbox.scripts.*]
disallow_untyped_defs = False
[mypy-e3.anod.driver.*]
disallow_untyped_defs = False
# Covering windows specific API is too difficult and not worth it
[mypy-e3.os.windows.native_api.*]
disallow_untyped_defs = False
# Covering code on top of pyyaml is too difficult and not worth it
[mypy-e3.yaml.*]
disallow_untyped_defs = False
[mypy-colorama.*]
ignore_missing_imports = True
[mypy-coverage.*]
ignore_missing_imports = True
[mypy-httpretty.*]
ignore_missing_imports = True
[mypy-ld.*]
ignore_missing_imports = True
[mypy-psutil.*]
ignore_missing_imports = True
[mypy-pytest.*]
ignore_missing_imports = True
[mypy-requests_toolbelt.*]
ignore_missing_imports = True
[mypy-setuptools.command.easy_install.*]
ignore_missing_imports = True
[mypy-stevedore.*]
ignore_missing_imports = True
[mypy-tqdm.*]
ignore_missing_imports = True
[mypy-tomlkit.*]
ignore_missing_imports = True
[mypy-typeguard.*]
ignore_missing_imports = True