-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmypy.ini
99 lines (78 loc) · 2.04 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
[mypy]
files = python, tests, config
warn_unused_configs = False
warn_redundant_casts = False
plugins = pydantic.mypy
exclude = (?x)
^python/lsst/summit/utils/m1m3/inertia_compensation_system\.py$
[mypy-requests.*]
ignore_missing_imports = True
[mypy-astropy.*]
ignore_missing_imports = True
[mypy-erfa.*]
ignore_missing_imports = True
[mypy-numpy.*]
ignore_missing_imports = False
[mypy-pandas.*]
ignore_missing_imports = True
[mypy-boto3.*]
ignore_missing_imports = True
[mypy-scipy.*]
ignore_missing_imports = True
[mypy-lsst_efd_client.*]
ignore_missing_imports = True
[mypy-astroquery.*]
ignore_missing_imports = True
[mypy-mpl_toolkits.*]
ignore_missing_imports = True
[mypy-nest_asyncio.*]
ignore_missing_imports = True
[mypy-galsim.*]
ignore_missing_imports = True
[mypy-PIL.*]
ignore_missing_imports = True
[mypy-tabulate.*]
ignore_missing_imports = True
[mypy-tqdm.*]
ignore_missing_imports = True
[mypy-dateutil.*]
ignore_missing_imports = True
[mypy-deprecated.sphinx.*]
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
# Do expect to import type annotations from LSST middleware dependencies that
# should have them, but don't re-check them as they have their own mypy.ini
# files with their own exceptions.
[mypy-lsst.utils.*]
ignore_errors = True
[mypy-lsst.resources.*]
ignore_errors = True
[mypy-lsst.daf.relation.*]
ignore_errors = True
[mypy-lsst.daf.butler.*]
ignore_errors = True
[mypy-lsst.obs.base.*]
ignore_errors = True
[mypy-lsst.pipe.base.*]
ignore_errors = True
[mypy-lsst.pex.config.*]
ignore_errors = True
[mypy-config.*]
ignore_errors = True
[mypy-tests.*]
ignore_errors = True
# Check all of summit_utils...
[mypy-lsst.summit.utils.*]
ignore_missing_imports = True
ignore_errors = False
disallow_untyped_defs = False
disallow_incomplete_defs = False
strict_equality = True
warn_unreachable = False
warn_unused_ignores = False
allow_untyped_globals = True
allow_redefinition = True