Protobuf stubs update using mypy-protobuf (#4785)

* Add script to generate protoc stubs using mypy-protobuf generated stubs

* Use generate_proto_stubs to generate stubs for protobuf 3.14.0

* Skip _pb2.pyi from flake8,black,isort,pytype
This commit is contained in:
Nipunn Koorapati
2020-11-25 18:48:26 +00:00
committed by GitHub
parent 04bfaf55f2
commit 9af49c0b69
34 changed files with 2755 additions and 4402 deletions

View File

@@ -1,11 +1,13 @@
[tool.black]
line_length = 130
target_version = ["py37"]
exclude = ".*_pb2.pyi"
[tool.isort]
profile = "black"
combine_as_imports = true
line_length = 130
skip_glob = "*_pb2.pyi"
extra_standard_library = [
"typing_extensions",
"_typeshed",