-
Notifications
You must be signed in to change notification settings - Fork 1.8k
/
mypy.ini
142 lines (110 loc) · 2.7 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
[mypy]
strict = False
files = manim
python_version = 3.10
; plugins = numpy.typing.mypy_plugin
ignore_errors = False
cache_fine_grained = True
warn_unused_ignores = True
# Disallow Dynamic Typing
# disallow_any_unimported = True
# disallow_any_expr = False
# disallow_any_decorated = True
# disallow_any_explicit = True
# disallow_any_generics = True
# disallow_subclassing_any = True
#
# # Disallow Untyped Defs and Calls
disallow_untyped_calls = True
disallow_untyped_defs = True
disallow_incomplete_defs = True
# check_untyped_defs = False
# disallow_untyped_decorators = True
#
# # None and Optional Handling
# implicit_optional = False
# strict_optional = True
#
# # Configuring Warnings
# warn_redundant_casts = True
# warn_unused_ignores = True
warn_return_any = True
# warn_unreachable = True
#
# # Strictness Flags
# allow_untyped_globals = False
# allow_redefinition = False
# local_partial_types = False
# strict_equality = True
#
# # Configuring Error Messages
# show_error_context = True
# show_column_numbers = True
# show_error_codes = True
# pretty = True
# color_output = True
# error_summary = True
#
# disable_recursive_aliases = True
[mypy-manim._config.*]
ignore_errors = True
disable_error_code = return-value
[mypy-manim.animation.*]
ignore_errors = True
[mypy-manim.camera.*]
ignore_errors = True
[mypy-manim.cli.*]
ignore_errors = False
[mypy-manim.cli.cfg.*]
ignore_errors = False
[mypy-manim.gui.*]
ignore_errors = True
[mypy-manim.mobject.*]
ignore_errors = True
[mypy-manim.mobject.geometry.*]
ignore_errors = False
[mypy-manim.renderer.*]
ignore_errors = True
[mypy-manim.scene.*]
ignore_errors = True
[mypy-manim.utils.*]
ignore_errors = True
[mypy-manim.utils.iterables]
ignore_errors = False
warn_return_any = False
# ---------------- We can't properly type this ------------------------
[mypy-manim.grpc.*]
ignore_errors = True
# ---------------- Stubless imported Modules --------------------------
# We should be able to create stubs for this or type hint it
[mypy-manimpango]
ignore_missing_imports = True
# Has stubs in 3.8
[mypy-pydub]
ignore_missing_imports = True
[mypy-matplotlib]
ignore_missing_imports = True
[mypy-scipy.*]
ignore_missing_imports = True
[mypy-networkx]
ignore_missing_imports = True
[mypy-git]
ignore_missing_imports = True
[mypy-moderngl.*]
ignore_missing_imports = True
[mypy-moderngl_window.*]
ignore_missing_imports = True
[mypy-dearpygui.*]
ignore_missing_imports = True
[mypy-screeninfo]
ignore_missing_imports = True
[mypy-IPython.*]
ignore_missing_imports = True
[mypy-watchdog.*]
ignore_missing_imports = True
[mypy-tqdm]
ignore_missing_imports = True
[mypy-mapbox_earcut]
ignore_missing_imports = True
[mypy-click_default_group]
ignore_missing_imports = True