mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-30 14:45:23 +08:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user