-
Notifications
You must be signed in to change notification settings - Fork 0
/
mypy.ini
123 lines (88 loc) · 2.71 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
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
[mypy]
warn_unused_configs = True
warn_redundant_casts = True
plugins = pydantic.mypy
[mypy-astropy.*]
ignore_missing_imports = True
[mypy-numpy.*]
ignore_missing_imports = True
[mypy-pandas.*]
ignore_missing_imports = True
[mypy-scipy.*]
ignore_missing_imports = True
[mypy-matplotlib.*]
ignore_missing_imports = True
# Don't check LSST packages generally or even try to import them, since most
# don't have type annotations.
[mypy-lsst.*]
ignore_missing_imports = True
ignore_errors = True
[mypy-debug] # LSST debug mechanism
ignore_missing_imports = True
ignore_errors = True
[mypy-lsstDebug] # LSST debug mechanism
ignore_missing_imports = True
ignore_errors = True
# Don't check PFS packages generally or even try to import them, since most
# don't have type annotations.
[mypy-pfs.*]
ignore_missing_imports = True
ignore_errors = True
# Check all of drp_stella (but don't insist that everything is typed)...
[mypy-pfs.drp.stella.*]
ignore_missing_imports = False
ignore_errors = False
disallow_untyped_defs = False
disallow_incomplete_defs = False
strict_equality = True
warn_unreachable = True
warn_unused_ignores = True
# ...except the following pybind modules
[mypy-pfs.drp.stella.centroidImage]
ignore_missing_imports = True
[mypy-pfs.drp.stella.DetectorDistortion]
ignore_missing_imports = True
[mypy-pfs.drp.stella.DetectorMap]
ignore_missing_imports = True
[mypy-pfs.drp.stella.DifferentialDetectorMap]
ignore_missing_imports = True
[mypy-pfs.drp.stella.DistortedDetectorMap]
ignore_missing_imports = True
[mypy-pfs.drp.stella.DoubleDetectorMap]
ignore_missing_imports = True
[mypy-pfs.drp.stella.DoubleDistortion]
ignore_missing_imports = True
[mypy-pfs.drp.stella.FiberTrace]
ignore_missing_imports = True
[mypy-pfs.drp.stella.FiberTraceSet]
ignore_missing_imports = True
[mypy-pfs.drp.stella.fitLine]
ignore_missing_imports = True
[mypy-pfs.drp.stella.GlobalDetectorModel]
ignore_missing_imports = True
[mypy-pfs.drp.stella.makeFootprint]
ignore_missing_imports = True
[mypy-pfs.drp.stella.maskLines]
ignore_missing_imports = True
[mypy-pfs.drp.stella.math]
ignore_missing_imports = True
[mypy-pfs.drp.stella.NevenPsf]
ignore_missing_imports = True
[mypy-pfs.drp.stella.photometry]
ignore_missing_imports = True
[mypy-pfs.drp.stella.profile]
ignore_missing_imports = True
[mypy-pfs.drp.stella.SpectralPsf]
ignore_missing_imports = True
[mypy-pfs.drp.stella.Spectrum]
ignore_missing_imports = True
[mypy-pfs.drp.stella.SpectrumSet]
ignore_missing_imports = True
[mypy-pfs.drp.stella.spline]
ignore_missing_imports = True
[mypy-pfs.drp.stella.SplinedDetectorMap]
ignore_missing_imports = True
[mypy-pfs.drp.stella.symmetricTridiagonal]
ignore_missing_imports = True
[mypy-pfs.drp.stella.traces]
ignore_missing_imports = True