Bump to mypy-protobuf 3.3.0 (#8612)

* Bump to mypy-protobuf 3.3.0

* Remove some ignores for formatting
This commit is contained in:
Nipunn Koorapati authored and GitHub committed 2022-08-26 07:24:11 +01:00
1 parent 712b265a16
commit 7beaebff40
17 files changed
+1108 -792

No files matched your search

-3
View File
@@ -96,9 +96,6 @@ def check_new_syntax(tree: ast.AST, path: Path, stub: str) -> list[str]:
def main() -> None:
errors = []
for path in chain(Path("stdlib").rglob("*.pyi"), Path("stubs").rglob("*.pyi")):
if Path("stubs/protobuf/google/protobuf") in path.parents: # TODO: fix protobuf stubs
continue
with open(path) as f:
stub = f.read()
tree = ast.parse(stub)