-
Notifications
You must be signed in to change notification settings - Fork 14
/
mypy.ini
94 lines (67 loc) · 1.94 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
[mypy]
warn_unused_configs = True
warn_redundant_casts = True
plugins = pydantic.mypy
[mypy-sqlalchemy.*]
ignore_missing_imports = True
[mypy-astropy.*]
ignore_missing_imports = True
[mypy-erfa.*]
ignore_missing_imports = True
[mypy-backoff]
ignore_missing_imports = True
[mypy-numpy.*]
ignore_missing_imports = True
[mypy-pyarrow.*]
ignore_missing_imports = True
[mypy-pandas.*]
ignore_missing_imports = True
[mypy-boto3]
ignore_missing_imports = True
[mypy-botocore.*]
ignore_missing_imports = True
[mypy-fsspec.*]
ignore_missing_imports = True
[mypy-urllib3.*]
ignore_missing_imports = True
[mypy-psycopg2]
ignore_missing_imports = True
[mypy-httpx.*]
ignore_missing_imports = True
[mypy-testing.postgresql]
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_missing_imports = False
ignore_errors = True
[mypy-lsst.resources.*]
ignore_missing_imports = False
ignore_errors = True
[mypy-lsst.daf.relation.*]
ignore_missing_imports = False
ignore_errors = True
# Check all of daf.butler...
[mypy-lsst.daf.butler.*]
ignore_missing_imports = False
ignore_errors = False
disallow_untyped_defs = True
disallow_incomplete_defs = True
strict_equality = True
warn_unreachable = True
warn_unused_ignores = False
# ...except the modules and subpackages below (can't find a way to do line
# breaks in the lists of modules).
[mypy-lsst.daf.butler.registry.queries.expressions.parser.ply.*]
ignore_errors = True
[mypy-lsst.daf.butler.registry.tests.*]
ignore_errors = True
# version.py is added by scons and may not exist when we run mypy.
[mypy-lsst.daf.butler.version]
ignore_missing_imports = True