-
Notifications
You must be signed in to change notification settings - Fork 4
/
mypy.ini
61 lines (43 loc) · 1.09 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
# Global options:
[mypy]
no_implicit_optional = True
allow_redefinition = True
strict_equality = True
check_untyped_defs = True
warn_unreachable = True
;disallow_any_unimported = True
disallow_untyped_defs = True
disallow_incomplete_defs = True
# ===== Adding -> None to all tests seems unnecessary =====
[mypy-tests.*]
disallow_untyped_defs = False
disallow_incomplete_defs = True
[mypy-baynet.utils.DAG_pb2]
ignore_errors = True
# ========== imports that don't have types ===========
[mypy-black]
ignore_missing_imports = True
[mypy-graphviz.*]
ignore_missing_imports = True
[mypy-igraph.*]
ignore_missing_imports = True
[mypy-mypy.*]
ignore_missing_imports = True
[mypy-networkx.*]
ignore_missing_imports = True
[mypy-numpy.*]
ignore_missing_imports = True
[mypy-pandas.*]
ignore_missing_imports = True
[mypy-pydocstyle]
ignore_missing_imports = True
[mypy-pydotplus.*]
ignore_missing_imports = True
[mypy-pylint.*]
ignore_missing_imports = True
[mypy-pytest.*]
ignore_missing_imports = True
[mypy-setuptools.*]
ignore_missing_imports = True
[mypy-pyparsing.*]
ignore_missing_imports = True