-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmypy.ini
More file actions
59 lines (47 loc) · 1.13 KB
/
mypy.ini
File metadata and controls
59 lines (47 loc) · 1.13 KB
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
[mypy]
# Global options
python_version = 3.9
warn_return_any = True
warn_unused_configs = True
disallow_untyped_defs = True
disallow_incomplete_defs = True
check_untyped_defs = True
disallow_untyped_decorators = True
no_implicit_optional = True
warn_redundant_casts = True
warn_unused_ignores = True
warn_no_return = True
warn_unreachable = False
strict_equality = True
show_error_codes = True
# Output
show_column_numbers = True
show_error_context = True
color_output = True
error_summary = True
# Import discovery
namespace_packages = True
ignore_missing_imports = True
# Per-module options
[mypy-streamwatch.*]
disallow_untyped_defs = True
disallow_incomplete_defs = True
# Third-party libraries without stubs
[mypy-rich.*]
ignore_missing_imports = True
[mypy-prompt_toolkit.*]
ignore_missing_imports = True
[mypy-streamlink.*]
ignore_missing_imports = True
[mypy-requests.*]
ignore_missing_imports = True
[mypy-urllib3.*]
ignore_missing_imports = True
[mypy-certifi.*]
ignore_missing_imports = True
[mypy-lxml.*]
ignore_missing_imports = True
[mypy-pycryptodome.*]
ignore_missing_imports = True
[mypy-websocket.*]
ignore_missing_imports = True