-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Expand file tree
/
Copy pathmypy.ini
More file actions
100 lines (68 loc) · 2.01 KB
/
Copy pathmypy.ini
File metadata and controls
100 lines (68 loc) · 2.01 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[mypy]
namespace_packages = True
ignore_missing_imports = False
# Helps mypy navigate the "google" namespace more reliably in 3.10+
explicit_package_bases = True
# Performance: reuse results from previous runs to speed up "nox"
incremental = True
exclude = (?x)(
(^|/)third_party/
| (^|/)tests/unit/resources/
| (^|/)tests/unit/gapic/
)
# ==============================================================================
# GLOBAL THIRD-PARTY & SHARED LIBRARY IGNORES
# ==============================================================================
[mypy-anywidget]
ignore_missing_imports = True
[mypy-cloudpickle.*]
ignore_missing_imports = True
[mypy-flask]
ignore_missing_imports = True
[mypy-google.auth.*]
ignore_missing_imports = True
[mypy-google.cloud.bigtable]
ignore_missing_imports = True
[mypy-google.cloud.pubsub]
ignore_missing_imports = True
[mypy-google.colab]
ignore_missing_imports = True
[mypy-google.iam.*]
ignore_missing_imports = True
[mypy-google.longrunning.*]
ignore_missing_imports = True
[mypy-google.oauth2.*]
ignore_missing_imports = True
[mypy-google.protobuf.*]
ignore_missing_imports = True
[mypy-google.rpc.*]
ignore_missing_imports = True
[mypy-google.type.*]
ignore_missing_imports = True
[mypy-grpc.*]
ignore_missing_imports = True
[mypy-ibis.*]
ignore_missing_imports = True
[mypy-ipywidgets]
ignore_missing_imports = True
[mypy-proto.*]
ignore_missing_imports = True
[mypy-pyarrow.*]
ignore_missing_imports = True
[mypy-pydata_google_auth]
ignore_missing_imports = True
[mypy-pytest]
ignore_missing_imports = True
[mypy-pytz]
ignore_missing_imports = True
# ==============================================================================
# PACKAGE-SPECIFIC OVERRIDES & EXCEPTIONS
# ==============================================================================
# --- google-cloud-bigtable ---
[mypy-google.cloud.bigtable.*]
ignore_errors = True
[mypy-google.cloud.bigtable.data.*]
check_untyped_defs = True
warn_unreachable = True
disallow_any_generics = True
ignore_errors = False