forked from troyvvgroup/quemb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmypy.ini
36 lines (28 loc) · 961 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
[mypy]
no_implicit_optional = True
follow_untyped_imports = True
disallow_untyped_defs = False
check_untyped_defs = False
# explicitly enable stricter tests for some files
[mypy-quemb.shared,quemb.molbe.chemfrag,quemb.molbe.sparse_2el_integral]
disallow_untyped_defs = True
check_untyped_defs = True
# TODO: whenever the following packages have stubs available,
# stop ignoring them.
[mypy-pyscf.*]
ignore_missing_imports = True
[mypy-libdmet.*]
ignore_missing_imports = True
[mypy-setuptools.*]
ignore_missing_imports = True
[mypy-h5py.*]
ignore_missing_imports = True
[mypy-numba.*]
ignore_missing_imports = True
; We have to als ignore ruamel.
; It's a bug in either mypy or pyyaml.
; https://stackoverflow.com/questions/52189217/use-mypy-with-ruamel-yaml
; https://github.com/python/mypy/issues/7276
; https://sourceforge.net/p/ruamel-yaml/tickets/328/
[mypy-ruamel.*]
ignore_missing_imports = True