aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/mypy-protobuf/patches/01-arcadia.patch
diff options
context:
space:
mode:
authorDevtools Arcadia <arcadia-devtools@yandex-team.ru>2022-02-07 18:08:42 +0300
committerDevtools Arcadia <arcadia-devtools@mous.vla.yp-c.yandex.net>2022-02-07 18:08:42 +0300
commit1110808a9d39d4b808aef724c861a2e1a38d2a69 (patch)
treee26c9fed0de5d9873cce7e00bc214573dc2195b7 /contrib/python/mypy-protobuf/patches/01-arcadia.patch
downloadydb-1110808a9d39d4b808aef724c861a2e1a38d2a69.tar.gz
intermediate changes
ref:cde9a383711a11544ce7e107a78147fb96cc4029
Diffstat (limited to 'contrib/python/mypy-protobuf/patches/01-arcadia.patch')
-rw-r--r--contrib/python/mypy-protobuf/patches/01-arcadia.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/contrib/python/mypy-protobuf/patches/01-arcadia.patch b/contrib/python/mypy-protobuf/patches/01-arcadia.patch
new file mode 100644
index 00000000000..6f718593f33
--- /dev/null
+++ b/contrib/python/mypy-protobuf/patches/01-arcadia.patch
@@ -0,0 +1,20 @@
+--- contrib/python/mypy-protobuf/mypy_protobuf/main.py (index)
++++ contrib/python/mypy-protobuf/mypy_protobuf/main.py (working tree)
+@@ -989,8 +989,6 @@ def generate_mypy_stubs(
+ output = response.file.add()
+ output.name = fd.name[:-6].replace("-", "_").replace(".", "/") + "_pb2.pyi"
+ output.content = HEADER + pkg_writer.write()
+- if not quiet:
+- print("Writing mypy to", output.name, file=sys.stderr)
+
+
+ def generate_mypy_grpc_stubs(
+@@ -1017,8 +1015,6 @@ def generate_mypy_grpc_stubs(
+ output = response.file.add()
+ output.name = fd.name[:-6].replace("-", "_").replace(".", "/") + "_pb2_grpc.pyi"
+ output.content = HEADER + pkg_writer.write()
+- if not quiet:
+- print("Writing mypy to", output.name, file=sys.stderr)
+
+
+ @contextmanager