@@ -9,77 +9,94 @@ explicit_package_bases = True
99incremental = True
1010
1111exclude = (?x)(
12- ^ third_party/
13- | tests/unit/resources/
14- | tests/unit/gapic/
12+ (^|/) third_party/
13+ | (^|/) tests/unit/resources/
14+ | (^|/) tests/unit/gapic/
1515 )
1616
17- # TODO(https://github.com/googleapis/gapic-generator-python/issues/2563):
18- # Dependencies that historically lacks py.typed markers
19- [mypy-google.iam.*]
20- ignore_missing_imports = True
21-
22- [mypy-google.type.*]
23- ignore_missing_imports = True
24-
2517
2618# ==============================================================================
27- # PACKAGE-SPECIFIC OVERRIDES
19+ # GLOBAL THIRD-PARTY & SHARED LIBRARY IGNORES
2820# ==============================================================================
2921
30- # --- google-cloud-core ---
31- [mypy-google.protobuf.*]
22+ [mypy-anywidget]
3223ignore_missing_imports = True
3324
34- # --- bigframes ---
3525[mypy-cloudpickle.*]
3626ignore_missing_imports = True
27+
3728[mypy-flask]
3829ignore_missing_imports = True
39- [mypy-pydata_google_auth]
40- ignore_missing_imports = True
41- [mypy-google.colab]
30+
31+ [mypy-google.auth.*]
4232ignore_missing_imports = True
43- [mypy-pytz]
33+
34+ [mypy-google.cloud.bigtable]
4435ignore_missing_imports = True
45- [mypy-pyarrow.*]
36+
37+ [mypy-google.cloud.pubsub]
4638ignore_missing_imports = True
47- [mypy-ibis.*]
39+
40+ [mypy-google.colab]
4841ignore_missing_imports = True
49- [mypy-ipywidgets]
42+
43+ [mypy-google.iam.*]
5044ignore_missing_imports = True
51- [mypy-google.cloud.pubsub]
45+
46+ [mypy-google.longrunning.*]
5247ignore_missing_imports = True
53- [mypy-google.cloud.bigtable]
48+
49+ [mypy-google.oauth2.*]
5450ignore_missing_imports = True
55- [mypy-anywidget]
51+
52+ [mypy-google.protobuf.*]
5653ignore_missing_imports = True
5754
58- # --- google-cloud-bigtable ---
59- [mypy-google.cloud.bigtable.*]
60- check_untyped_defs = True
61- warn_unreachable = True
62- disallow_any_generics = True
63- ignore_errors = True
55+ [mypy-google.rpc.*]
56+ ignore_missing_imports = True
6457
65- [mypy-google.cloud.bigtable.data .*]
66- ignore_errors = False
58+ [mypy-google.type .*]
59+ ignore_missing_imports = True
6760
6861[mypy-grpc.*]
6962ignore_missing_imports = True
70- [mypy-google.auth.*]
63+
64+ [mypy-ibis.*]
7165ignore_missing_imports = True
72- [mypy-google.longrunning.*]
66+
67+ [mypy-ipywidgets]
7368ignore_missing_imports = True
74- [mypy-google.oauth2.*]
69+
70+ [mypy-proto.*]
7571ignore_missing_imports = True
76- [mypy-google.rpc.*]
72+
73+ [mypy-pyarrow.*]
7774ignore_missing_imports = True
78- [mypy-proto.*]
75+
76+ [mypy-pydata_google_auth]
7977ignore_missing_imports = True
78+
8079[mypy-pytest]
8180ignore_missing_imports = True
8281
82+ [mypy-pytz]
83+ ignore_missing_imports = True
84+
85+
86+ # ==============================================================================
87+ # PACKAGE-SPECIFIC OVERRIDES & EXCEPTIONS
88+ # ==============================================================================
89+
90+ # --- google-cloud-bigtable ---
91+ [mypy-google.cloud.bigtable.*]
92+ ignore_errors = True
93+
94+ [mypy-google.cloud.bigtable.data.*]
95+ check_untyped_defs = True
96+ warn_unreachable = True
97+ disallow_any_generics = True
98+ ignore_errors = False
99+
83100# --- google-cloud-datastore ---
84101[mypy-google.cloud.datastore._app_engine_key_pb2]
85102ignore_errors = True
0 commit comments