diff options
| -rw-r--r-- | contrib/libs/hyperscan/.yandex_meta/__init__.py | 2 | ||||
| -rw-r--r-- | contrib/libs/nghttp3/.yandex_meta/__init__.py | 2 | ||||
| -rw-r--r-- | contrib/libs/protobuf/.yandex_meta/__init__.py | 10 | ||||
| -rw-r--r-- | contrib/python/Pillow/py3/.yandex_meta/__init__.py | 4 | ||||
| -rw-r--r-- | contrib/python/grpcio/py3/.yandex_meta/__init__.py | 2 |
5 files changed, 10 insertions, 10 deletions
diff --git a/contrib/libs/hyperscan/.yandex_meta/__init__.py b/contrib/libs/hyperscan/.yandex_meta/__init__.py index c56235d3b4b..02f917dd90c 100644 --- a/contrib/libs/hyperscan/.yandex_meta/__init__.py +++ b/contrib/libs/hyperscan/.yandex_meta/__init__.py @@ -61,7 +61,7 @@ def instantiate_runtime(self, *, runtime_name, runtime_yamake): # list of symbols that will be duplicated if compiled without proper wrapping. # It can be obtained with compiling runtime_* libraries and applying # nm --defined-only --extern-only --format=posix -o *.a | awk '{print $2}' - with open(P.join(self.meta_dir, 'symbols.json')) as f: + with open(P.join(self.meta_dir, "symbols.json")) as f: symbols_to_rename = json.load(f) # rename symbols that would be duplicated between runtimes otherwise diff --git a/contrib/libs/nghttp3/.yandex_meta/__init__.py b/contrib/libs/nghttp3/.yandex_meta/__init__.py index f75bcde11ee..344c3f236e0 100644 --- a/contrib/libs/nghttp3/.yandex_meta/__init__.py +++ b/contrib/libs/nghttp3/.yandex_meta/__init__.py @@ -8,7 +8,7 @@ def post_install(self): with open(includeFilePath, "r") as file: filedata = file.read() - filedata = filedata.replace("<nghttp3/version.h>", "\"version.h\"") + filedata = filedata.replace("<nghttp3/version.h>", '"version.h"') with open(includeFilePath, "w") as file: file.write(filedata) diff --git a/contrib/libs/protobuf/.yandex_meta/__init__.py b/contrib/libs/protobuf/.yandex_meta/__init__.py index 7d7498e4837..8eb399ce00d 100644 --- a/contrib/libs/protobuf/.yandex_meta/__init__.py +++ b/contrib/libs/protobuf/.yandex_meta/__init__.py @@ -42,7 +42,7 @@ DEPRECATED_STUBS = [ "src/google/protobuf/json_util.h", ] -DEPRECATED_SRC = [x for x in DEPRECATED_STUBS if x.endswith('.cc')] +DEPRECATED_SRC = [x for x in DEPRECATED_STUBS if x.endswith(".cc")] # Set of proto files coming with original google protobuf (excluding descriptor.proto, see below) # WARN: upon changing this file, make sure to check protobuf_std counterpart. @@ -219,19 +219,19 @@ ENDIF() for lang in ["csharp", "objectivec"]: for root, _, files in os.walk(os.path.join(libprotoc_abs_dir, "src/google/protobuf/compiler", lang)): for file in files: - if file.endswith('.h'): - with open(os.path.join(root, lang + '_' + file), 'w') as f: + if file.endswith(".h"): + with open(os.path.join(root, lang + "_" + file), "w") as f: f.write(f'#include "{file}"\n') f.write('#include "names.h"') # generate temporal proxy for ydb - with open(os.path.join(libprotoc_abs_dir, "src/google/protobuf/compiler/cpp/cpp_helpers.h"), 'w') as f: + with open(os.path.join(libprotoc_abs_dir, "src/google/protobuf/compiler/cpp/cpp_helpers.h"), "w") as f: f.write('#include "helpers.h"') with open(f"{libprotoc_abs_dir}/ya.make", "wt") as ymake: ymake.write(str(libprotoc)) - with open(os.path.join(self.ctx.arc, self.arcdir, "src/google/protobuf/util/json_util.h"), 'w') as f: + with open(os.path.join(self.ctx.arc, self.arcdir, "src/google/protobuf/util/json_util.h"), "w") as f: f.write('#define USE_DEPRECATED_NAMESPACE 1\n#include "google/protobuf/json/json.h"') diff --git a/contrib/python/Pillow/py3/.yandex_meta/__init__.py b/contrib/python/Pillow/py3/.yandex_meta/__init__.py index 248ce1165e3..63d5c8ea508 100644 --- a/contrib/python/Pillow/py3/.yandex_meta/__init__.py +++ b/contrib/python/Pillow/py3/.yandex_meta/__init__.py @@ -47,8 +47,8 @@ def post_install(self): { "NOT OPENSOURCE": Linkable( CFLAGS=["-DHAVE_LIBIMAGEQUANT"], - PEERDIR=['contrib/libs/libimagequant'], - ADDINCL=['contrib/libs/libimagequant'], + PEERDIR=["contrib/libs/libimagequant"], + ADDINCL=["contrib/libs/libimagequant"], ), } ), diff --git a/contrib/python/grpcio/py3/.yandex_meta/__init__.py b/contrib/python/grpcio/py3/.yandex_meta/__init__.py index d519c459ee0..5e4e2c47ca9 100644 --- a/contrib/python/grpcio/py3/.yandex_meta/__init__.py +++ b/contrib/python/grpcio/py3/.yandex_meta/__init__.py @@ -57,7 +57,7 @@ def post_install(self): # see https://github.com/grpc/grpc/blob/v1.45.0/tools/bazel.rc#L103 pb.after( "ADDINCL", - Switch({'SANITIZER_TYPE == undefined': Linkable(CXXFLAGS=["-fno-sanitize=function"])}), + Switch({"SANITIZER_TYPE == undefined": Linkable(CXXFLAGS=["-fno-sanitize=function"])}), ) |
