-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmypy.ini
More file actions
37 lines (29 loc) · 774 Bytes
/
Copy pathmypy.ini
File metadata and controls
37 lines (29 loc) · 774 Bytes
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
# MyPy config file
# File reference here - http://mypy.readthedocs.io/en/latest/config_file.html#config-file
[mypy]
python_version = 3.10
warn_return_any = True
warn_unused_configs = True
warn_redundant_casts = True
warn_unused_ignores = True
# Needed because of bug in MyPy
disallow_subclassing_any = False
mypy_path = stubs
[mypy-*]
disallow_untyped_calls = True
disallow_untyped_defs = True
check_untyped_defs = True
warn_return_any = True
no_implicit_optional = True
strict_optional = True
ignore_missing_imports = True
[mypy-scipy.*]
warn_unused_ignores = False
ignore_missing_imports = True
[mypy-matplotlib.*]
warn_unused_ignores = False
ignore_missing_imports = True
[mypy-ffmpeg.*]
ignore_missing_imports = True
[mypy-fvcore.*]
ignore_missing_imports = True