-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathmypy.ini
60 lines (45 loc) · 1.12 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
[mypy]
warn_unused_configs = True
warn_redundant_casts = True
plugins = pydantic.mypy
[mypy-numpy.*]
ignore_missing_imports = True
[mypy-numexpr.*]
ignore_missing_imports = True
[mypy-threadpoolctl.*]
ignore_missing_imports = True
[mypy-psutil.*]
ignore_missing_imports = True
[mypy-deprecated.*]
ignore_missing_imports = True
ignore_errors = True
[mypy-matplotlib.*]
ignore_missing_imports = True
ignore_errors = True
[mypy-astropy.*]
ignore_missing_imports = True
ignore_errors = True
[mypy-eups.*]
ignore_missing_imports = True
[mypy-conda.cli.*]
ignore_missing_imports = True
[mypy-lsst.*]
ignore_missing_imports = True
ignore_errors = True
# Check all of utils...
[mypy-lsst.utils.*]
ignore_missing_imports = False
ignore_errors = False
disallow_untyped_defs = True
disallow_incomplete_defs = True
strict_equality = True
warn_unreachable = True
warn_unused_ignores = True
# But some of it doesn't work yet
[mypy-lsst.utils.tests.*]
ignore_errors = True
[mypy-lsst.utils.wrappers.*]
ignore_errors = True
# version.py is added by scons and may not exist when we run mypy.
[mypy-lsst.utils.version]
ignore_missing_imports = True