-
Notifications
You must be signed in to change notification settings - Fork 20
/
mypy.ini
50 lines (37 loc) · 1.3 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
[mypy]
# We currently aim for compat with 3.8.
python_version = 3.8
namespace_packages = True
# 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
[mypy-nextstrain.cli.markdown]
ignore_errors = True
# 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-boto3]
ignore_missing_imports = True
[mypy-botocore.config]
ignore_missing_imports = True
[mypy-botocore.exceptions]
ignore_missing_imports = True
[mypy-importlib.metadata]
ignore_missing_imports = True
[mypy-importlib.resources]
ignore_missing_imports = True
[mypy-fasteners]
ignore_missing_imports = True
[mypy-fsspec]
ignore_missing_imports = True
[mypy-nextstrain]
ignore_missing_imports = True
[mypy-wcmatch.glob]
ignore_missing_imports = True
[mypy-wrapt]
ignore_missing_imports = True