mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-29 23:26:54 +08:00
Update protobuf generated stubs from mypy-protobuf 2.8 (#5804)
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# Update these two variables when rerunning script
|
||||
PROTOBUF_VERSION=3.17.3
|
||||
MYPY_PROTOBUF_VERSION=v2.6
|
||||
MYPY_PROTOBUF_VERSION=v2.8
|
||||
|
||||
set -ex
|
||||
|
||||
@@ -73,3 +73,5 @@ protoc_install/bin/protoc --proto_path=$PYTHON_PROTOBUF_DIR/src --mypy_out=$REPO
|
||||
|
||||
isort $REPO_ROOT/stubs/protobuf
|
||||
black $REPO_ROOT/stubs/protobuf
|
||||
|
||||
sed -i="" "s/mypy-protobuf [^\"]*/mypy-protobuf ${MYPY_PROTOBUF_VERSION}/" $REPO_ROOT/stubs/protobuf/METADATA.toml
|
||||
|
||||
Reference in New Issue
Block a user