Repository navigation
Expand file tree
/
Copy pathmypy.ini
More file actions
137 lines (99 loc) · 3.21 KB
/
Copy pathmypy.ini
File metadata and controls
137 lines (99 loc) · 3.21 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
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
[mypy]
strict_equality = True
disallow_untyped_calls = True
warn_unreachable = True
# docs/ holds one-off slide/figure-generation scripts, not library code.
# submodules/ holds git submodules, which are checked in their own repos.
exclude = (predicators/envs/assets|venv|prompts|logs|docs|submodules)
[mypy-predicators.*]
disallow_untyped_defs = True
[mypy-scripts.*]
disallow_untyped_defs = True
# The paper figure scripts run as files and import their siblings by module
# name, which mypy cannot resolve from the repository root.
[mypy-build_figures,export_static_scenes,export_trajectory_scenes,render_scene_support]
ignore_missing_imports = True
# macOS-only launch helpers: the `sys.platform != "darwin"` guard makes the
# rest of the function dead code under mypy's Linux (CI) platform analysis.
[mypy-scripts.local.launch]
warn_unreachable = False
[mypy-scripts.local.launch_simp]
warn_unreachable = False
[mypy-predicators.tests.*]
ignore_missing_imports = True
[mypy-predicators.third_party.*]
ignore_missing_imports = True
ignore_errors = True
[mypy-setuptools.*]
ignore_missing_imports = True
[mypy-gym.spaces.*]
ignore_missing_imports = True
[mypy-imageio.*]
ignore_missing_imports = True
[mypy-matplotlib.*]
ignore_missing_imports = True
[mypy-scipy.*]
ignore_missing_imports = True
[mypy-bddl.*]
ignore_missing_imports = True
[mypy-igibson.*]
ignore_missing_imports = True
[mypy-tabulate.*]
ignore_missing_imports = True
[mypy-pandas.*]
ignore_missing_imports = True
[mypy-dill.*]
ignore_missing_imports = True
[mypy-pyperplan.*]
ignore_missing_imports = True
[mypy-pybullet.*]
ignore_missing_imports = True
[mypy-pathos.*]
ignore_missing_imports = True
[mypy-requests.*]
ignore_missing_imports = True
[mypy-sklearn.*]
ignore_missing_imports = True
[mypy-graphlib.*]
ignore_missing_imports = True
[mypy-pybullet_utils.*]
# utils provided by pybullet itself don't have typing stubs
ignore_missing_imports = True
[mypy-seaborn.*]
ignore_missing_imports = True
[mypy-open3d.*]
ignore_missing_imports = True
[mypy-smepy.*]
ignore_missing_imports = True
[mypy-pyrealsense2.*]
ignore_missing_imports = True
[mypy-panda_robot_client.*]
ignore_missing_imports = True
[mypy-gym.*]
ignore_missing_imports = True
[mypy-gym_sokoban.*]
ignore_missing_imports = True
[mypy-gymnasium.*]
ignore_missing_imports = True
[mypy-gymnasium_robotics.*]
ignore_missing_imports = True
[mypy-ImageHash.*]
ignore_missing_imports = True
[mypy-google.*]
ignore_missing_imports = True
[mypy-google.generativeai.*]
ignore_missing_imports = True
# BabyRobotPredicator (submodules/BabyRobotPredicator) is a PRIVATE submodule
# and is deliberately not in install_requires, so it is absent on CI and on any
# checkout without access. This stanza covers both cases: the import is ignored
# when the package is missing, and its (separately type-checked) internals are
# not re-checked here when it is present.
[mypy-babyrobot.*]
ignore_missing_imports = True
follow_imports = skip
# Same submodule, second top-level package: the ZED recorder and the markerless
# pose pipeline live under pose_estimation/ rather than babyrobot/, so they need
# their own stanza for exactly the same reason.
[mypy-pose_estimation.*]
ignore_missing_imports = True
follow_imports = skip