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 authored and GitHub committed 2020-11-25 10:48:26 -08:00
1 parent 04bfaf55f2
commit 9af49c0b69
34 files changed
+2755 -4402

No files matched your search

+2
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",