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

@@ -22,5 +22,5 @@ per-file-ignores =
# We are checking with Python 3 but many of the stubs are Python 2 stubs.
builtins = StandardError,apply,basestring,buffer,cmp,coerce,execfile,file,intern,long,raw_input,reduce,reload,unichr,unicode,xrange
exclude = .venv*,@*,.git
exclude = .venv*,@*,.git,*_pb2.pyi
max-line-length = 130