Skip to content

Commit 97a3be9

Browse files
committed
chore: consolidate bigtable mypy config and update comments
1 parent 9fff6fc commit 97a3be9

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

mypy.ini

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,17 +95,16 @@ ignore_missing_imports = True
9595
ignore_missing_imports = True
9696

9797
[mypy-google.cloud.bigtable.*]
98+
# Broadly ignore errors for the older, legacy/handwritten parts of the library
9899
ignore_errors = True
99100

100-
[mypy-google.cloud.bigtable.*]
101+
[mypy-google.cloud.bigtable.data.*]
102+
# Stricter rules for the newer parts of the library
101103
check_untyped_defs = True
102104
warn_unreachable = True
103105
disallow_any_generics = True
104106
ignore_errors = False
105107

106-
[mypy-google.cloud.bigtable.data.*]
107-
ignore_errors = False
108-
109108
[mypy-google.cloud.bigtable_admin.*]
110109
ignore_errors = True
111110

0 commit comments

Comments
 (0)