-
Notifications
You must be signed in to change notification settings - Fork 5
/
mypy.ini
69 lines (50 loc) · 1.61 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
[mypy]
# We currently aim for compat with 3.9.
python_version = 3.9
namespace_packages = True
mypy_path = lib/
# Check function bodies which don't have a typed signature. This prevents a
# single untyped function from poisoning other typed functions in a call chain.
check_untyped_defs = True
# Require functions with an annotated return type to be explicit about
# potentially returning None (via Optional[…]).
strict_optional = False
# In the future maybe we can contribute typing stubs for these modules (either
# complete stubs in the python/typeshed repo or partial stubs just in
# this repo), but for now that's more work than we want to invest. These
# sections let us ignore missing stubs for specific modules without hiding all
# missing errors like (--ignore-missing-imports).
[mypy-deepdiff]
ignore_missing_imports = True
[mypy-fhir.resources.*]
ignore_missing_imports = True
[mypy-fiona.*]
ignore_missing_imports = True
[mypy-flask]
ignore_missing_imports = True
[mypy-fsspec]
ignore_missing_imports = True
[mypy-googleapiclient]
ignore_missing_imports = True
[mypy-googleapiclient.http]
ignore_missing_imports = True
[mypy-jsonschema]
ignore_missing_imports = True
[mypy-more_itertools]
ignore_missing_imports = True
[mypy-numpy]
ignore_missing_imports = True
[mypy-pandas]
ignore_missing_imports = True
[mypy-psycopg2]
ignore_missing_imports = True
[mypy-psycopg2.*]
ignore_missing_imports = True
[mypy-cachetools]
ignore_missing_imports = True
[mypy-smartystreets_python_sdk]
ignore_missing_imports = True
[mypy-smartystreets_python_sdk.*]
ignore_missing_imports = True
[mypy-click]
ignore_missing_imports = True