-
-
Notifications
You must be signed in to change notification settings - Fork 66
Expand file tree
/
Copy pathmypy.ini
More file actions
36 lines (31 loc) · 941 Bytes
/
Copy pathmypy.ini
File metadata and controls
36 lines (31 loc) · 941 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
[mypy]
# Set the Python version constraint match the project.
python_version = 3.14
# Configure general settings.
disallow_untyped_defs = True
warn_return_any = True
warn_unused_configs = True
warn_redundant_casts = True
warn_unused_ignores = True
# Follow imports to check consistency.
follow_imports = normal
# Show error codes.
show_error_codes = True
# Ignore third-party libraries without type stubs.
[mypy-mujoco.*]
ignore_missing_imports = True
[mypy-numba.*]
ignore_missing_imports = True
[mypy-tqdm.*]
ignore_missing_imports = True
[mypy-pyvista.*]
ignore_missing_imports = True
[mypy-webp.*]
ignore_missing_imports = True
[mypy-threadpoolctl.*]
ignore_missing_imports = True
# Numba ships type information, but its config module populates its attributes (e.g.,
# NUMBA_NUM_THREADS) dynamically at import, so they are invisible to static analysis.
# Treat that module as untyped.
[mypy-numba.core.config]
follow_imports = skip