-
Notifications
You must be signed in to change notification settings - Fork 0
/
mypy.ini
43 lines (33 loc) · 979 Bytes
/
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
[mypy]
show_error_codes = True
warn_unused_configs = True
warn_redundant_casts = True
[mypy-numpy]
ignore_missing_imports = True
ignore_errors = True
[mypy-lsst.*]
ignore_missing_imports = True
ignore_errors = True
[mypy-astro_metadata_translator.*]
ignore_missing_imports = True
ignore_errors = True
[mypy-astropy.io]
ignore_missing_imports = True
# Check all of cell_coadds...
[mypy-lsst.cell_coadds.*]
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
# version.py is added by scons and may not exist when we run mypy.
[mypy-lsst.cell_coadds.version]
ignore_missing_imports = True
# mypy does not bode well with monkey patching done here.
[mypy-lsst.cell_coadds._GridContainer]
ignore_errors = True
# _cell_coadd_builder.py is not used, and not worth the upkeep.
[mypy-lsst.cell_coadds._cell_coadd_builder]
ignore_errors = True