forked from nuclia/nucliadb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmypy.ini
55 lines (40 loc) · 1.09 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
[mypy]
python_version = 3.9
warn_return_any = False
warn_unused_configs = True
# ignore examples
exclude = ^(examples/|scripts/)
[mypy-opentelemetry.*]
ignore_missing_imports = True
[mypy-torch.*]
ignore_missing_imports = True
[mypy-nucliadb_utils.tests.*]
ignore_missing_imports = True
allow_untyped_defs = True
allow_untyped_calls = True
disable_error_code = var-annotated, has-type, attr-defined, misc, union-attr
[mypy-asyncpg.*]
ignore_missing_imports = True
[mypy-molotov.*]
ignore_missing_imports = True
[mypy-nucliadb_performance.*]
ignore_missing_imports = True
[mypy-certifi.*]
ignore_missing_imports = True
[mypy-sentry_sdk.*]
ignore_missing_imports = True
[mypy-prometheus_client.*]
ignore_missing_imports = True
[mypy-watchdog.*]
ignore_missing_imports = True
[mypy-starlette_prometheus.*]
ignore_missing_imports = True
[mypy-pluggy.*]
ignore_missing_imports = True
[mypy-pytest_lazy_fixtures.*]
ignore_missing_imports = True
# nucliadb_sdk deprecated things
[mypy-nucliadb_sdk.resource.*]
disable_error_code = arg-type, call-arg
[mypy-nucliadb_client.tests.*]
disable_error_code = call-arg