aboutsummaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorsnowball <snowball@yandex-team.ru>2022-02-10 16:46:32 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:32 +0300
commit4d57126b1bae3cfd0f4f95c32d1a85ca684ee92c (patch)
tree9aa76172d0e8abdf7c78fce6ec639c5d7e62b459 /library
parent249e91c445cb92462f9509d1ef2730b27629f43d (diff)
downloadydb-4d57126b1bae3cfd0f4f95c32d1a85ca684ee92c.tar.gz
Restoring authorship annotation for <snowball@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library')
-rw-r--r--library/cpp/accurate_accumulate/benchmark/metrics/ya.make2
-rw-r--r--library/cpp/archive/ut/ya.make2
-rw-r--r--library/cpp/balloc/ya.make2
-rw-r--r--library/cpp/build_info/build_info.cpp.in8
-rw-r--r--library/cpp/build_info/build_info.h18
-rw-r--r--library/cpp/build_info/ya.make10
-rw-r--r--library/cpp/cache/ut/ya.make2
-rw-r--r--library/cpp/codecs/ut/ya.make2
-rw-r--r--library/cpp/compproto/ut/ya.make2
-rw-r--r--library/cpp/dns/ut/ya.make2
-rw-r--r--library/cpp/enumbitset/ya.make2
-rw-r--r--library/cpp/getopt/small/ya.make2
-rw-r--r--library/cpp/getopt/ut/ya.make2
-rw-r--r--library/cpp/getopt/ya.make2
-rw-r--r--library/cpp/json/writer/ut/ya.make2
-rw-r--r--library/cpp/json/yson/json2yson_ut.cpp2
-rw-r--r--library/cpp/lcs/ut/ya.make2
-rw-r--r--library/cpp/lfalloc/ya.make4
-rw-r--r--library/cpp/lfalloc/yt/ya.make4
-rw-r--r--library/cpp/logger/ut/ya.make2
-rw-r--r--library/cpp/malloc/api/helpers/ya.make2
-rw-r--r--library/cpp/malloc/api/ut/ya.make2
-rw-r--r--library/cpp/malloc/api/ya.make2
-rw-r--r--library/cpp/malloc/jemalloc/ya.make2
-rw-r--r--library/cpp/messagebus/rain_check/test/ut/ya.make2
-rw-r--r--library/cpp/messagebus/rain_check/test/ya.make2
-rw-r--r--library/cpp/messagebus/rain_check/ya.make2
-rw-r--r--library/cpp/messagebus/test/TestMessageBus.py2
-rw-r--r--library/cpp/messagebus/test/ut/ya.make2
-rw-r--r--library/cpp/packers/ut/ya.make2
-rw-r--r--library/cpp/packers/ya.make2
-rw-r--r--library/cpp/regex/pire/ut/ya.make4
-rw-r--r--library/cpp/string_utils/base64/bench/metrics/ya.make2
-rw-r--r--library/cpp/testing/benchmark/examples/metrics/ya.make2
-rw-r--r--library/cpp/testing/unittest/ut/ya.make2
-rw-r--r--library/cpp/unicode/normalization/ya.make2
-rw-r--r--library/cpp/xml/document/xml-document.cpp4
-rw-r--r--library/cpp/xml/init/init.cpp8
-rw-r--r--library/cpp/xml/init/ptr.h10
-rw-r--r--library/python/fs/__init__.py12
-rw-r--r--library/python/symbols/python/syms.cpp2
-rw-r--r--library/python/testing/yatest_common/yatest/common/canonical.py22
-rw-r--r--library/python/testing/yatest_common/yatest/common/network.py2
-rw-r--r--library/ya.make2
44 files changed, 85 insertions, 85 deletions
diff --git a/library/cpp/accurate_accumulate/benchmark/metrics/ya.make b/library/cpp/accurate_accumulate/benchmark/metrics/ya.make
index 5d532e1479..2caf239ee6 100644
--- a/library/cpp/accurate_accumulate/benchmark/metrics/ya.make
+++ b/library/cpp/accurate_accumulate/benchmark/metrics/ya.make
@@ -5,7 +5,7 @@ PY2TEST()
SIZE(LARGE)
TAG(
- ya:force_sandbox
+ ya:force_sandbox
sb:intel_e5_2660v1
ya:fat
)
diff --git a/library/cpp/archive/ut/ya.make b/library/cpp/archive/ut/ya.make
index 4f324ccfc6..ee3b6a3c76 100644
--- a/library/cpp/archive/ut/ya.make
+++ b/library/cpp/archive/ut/ya.make
@@ -1,4 +1,4 @@
-UNITTEST()
+UNITTEST()
OWNER(pg)
diff --git a/library/cpp/balloc/ya.make b/library/cpp/balloc/ya.make
index d4457fbba9..bd7ed0d895 100644
--- a/library/cpp/balloc/ya.make
+++ b/library/cpp/balloc/ya.make
@@ -5,7 +5,7 @@ OWNER(
g:base
)
-NO_UTIL()
+NO_UTIL()
NO_COMPILER_WARNINGS()
IF (OS_WINDOWS)
diff --git a/library/cpp/build_info/build_info.cpp.in b/library/cpp/build_info/build_info.cpp.in
index 71403af13e..2c9d9f99d2 100644
--- a/library/cpp/build_info/build_info.cpp.in
+++ b/library/cpp/build_info/build_info.cpp.in
@@ -1,5 +1,5 @@
#include <library/cpp/build_info/build_info.h>
-
-extern "C" const char* GetBuildType() {
- return "@BUILD_TYPE@";
-}
+
+extern "C" const char* GetBuildType() {
+ return "@BUILD_TYPE@";
+}
diff --git a/library/cpp/build_info/build_info.h b/library/cpp/build_info/build_info.h
index a494870ba3..e13f01f79b 100644
--- a/library/cpp/build_info/build_info.h
+++ b/library/cpp/build_info/build_info.h
@@ -2,13 +2,13 @@
#include "sandbox.h"
#include "build_info_static.h"
-
-#if defined(__cplusplus)
-extern "C" {
-#endif
-
+
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
const char* GetBuildType();
-
-#if defined(__cplusplus)
-}
-#endif
+
+#if defined(__cplusplus)
+}
+#endif
diff --git a/library/cpp/build_info/ya.make b/library/cpp/build_info/ya.make
index 99886a8893..c779480c30 100644
--- a/library/cpp/build_info/ya.make
+++ b/library/cpp/build_info/ya.make
@@ -1,10 +1,10 @@
LIBRARY()
-OWNER(
- mvel
- snowball
+OWNER(
+ mvel
+ snowball
heretic
-)
+)
DEFAULT(SANDBOX_TASK_ID 0)
DEFAULT(KOSHER_SVN_VERSION "")
@@ -17,7 +17,7 @@ PEERDIR(
SRCS(
sandbox.cpp.in
- build_info.cpp.in
+ build_info.cpp.in
build_info_static.cpp
)
diff --git a/library/cpp/cache/ut/ya.make b/library/cpp/cache/ut/ya.make
index f660872369..5ddbac0354 100644
--- a/library/cpp/cache/ut/ya.make
+++ b/library/cpp/cache/ut/ya.make
@@ -1,4 +1,4 @@
-UNITTEST()
+UNITTEST()
OWNER(
g:util
diff --git a/library/cpp/codecs/ut/ya.make b/library/cpp/codecs/ut/ya.make
index 90841b05ef..c55e65c9ab 100644
--- a/library/cpp/codecs/ut/ya.make
+++ b/library/cpp/codecs/ut/ya.make
@@ -1,4 +1,4 @@
-UNITTEST()
+UNITTEST()
OWNER(
g:base
diff --git a/library/cpp/compproto/ut/ya.make b/library/cpp/compproto/ut/ya.make
index f197a58269..51998fbefd 100644
--- a/library/cpp/compproto/ut/ya.make
+++ b/library/cpp/compproto/ut/ya.make
@@ -1,4 +1,4 @@
-UNITTEST()
+UNITTEST()
OWNER(ironpeter)
diff --git a/library/cpp/dns/ut/ya.make b/library/cpp/dns/ut/ya.make
index 7cfd0c4c32..26680eee5e 100644
--- a/library/cpp/dns/ut/ya.make
+++ b/library/cpp/dns/ut/ya.make
@@ -1,4 +1,4 @@
-UNITTEST()
+UNITTEST()
OWNER(
and42
diff --git a/library/cpp/enumbitset/ya.make b/library/cpp/enumbitset/ya.make
index 86de91c816..9a2dd64bbc 100644
--- a/library/cpp/enumbitset/ya.make
+++ b/library/cpp/enumbitset/ya.make
@@ -1,6 +1,6 @@
LIBRARY()
-OWNER(alzobnin)
+OWNER(alzobnin)
SRCS(
enumbitset.cpp
diff --git a/library/cpp/getopt/small/ya.make b/library/cpp/getopt/small/ya.make
index 96de0f04b1..e090eec08e 100644
--- a/library/cpp/getopt/small/ya.make
+++ b/library/cpp/getopt/small/ya.make
@@ -1,6 +1,6 @@
LIBRARY()
-OWNER(pg)
+OWNER(pg)
PEERDIR(
library/cpp/colorizer
diff --git a/library/cpp/getopt/ut/ya.make b/library/cpp/getopt/ut/ya.make
index 8d00669efb..24303eb9ca 100644
--- a/library/cpp/getopt/ut/ya.make
+++ b/library/cpp/getopt/ut/ya.make
@@ -1,6 +1,6 @@
UNITTEST_FOR(library/cpp/getopt)
-OWNER(pg)
+OWNER(pg)
SRCS(
last_getopt_ut.cpp
diff --git a/library/cpp/getopt/ya.make b/library/cpp/getopt/ya.make
index 6df23b22b2..c7b195c73b 100644
--- a/library/cpp/getopt/ya.make
+++ b/library/cpp/getopt/ya.make
@@ -1,6 +1,6 @@
LIBRARY()
-OWNER(pg)
+OWNER(pg)
PEERDIR(
library/cpp/getopt/small
diff --git a/library/cpp/json/writer/ut/ya.make b/library/cpp/json/writer/ut/ya.make
index 1e39dae6a1..4a64a4275c 100644
--- a/library/cpp/json/writer/ut/ya.make
+++ b/library/cpp/json/writer/ut/ya.make
@@ -1,4 +1,4 @@
-UNITTEST()
+UNITTEST()
OWNER(myltsev)
diff --git a/library/cpp/json/yson/json2yson_ut.cpp b/library/cpp/json/yson/json2yson_ut.cpp
index 9eb23354cf..eb372a179f 100644
--- a/library/cpp/json/yson/json2yson_ut.cpp
+++ b/library/cpp/json/yson/json2yson_ut.cpp
@@ -24,7 +24,7 @@ static TString GetRequestsWithDecoding(const TString& inputPath, const NBlockCod
}
Y_UNIT_TEST_SUITE(Json2Yson) {
- Y_UNIT_TEST(NOAPACHE_REQUESTS) {
+ Y_UNIT_TEST(NOAPACHE_REQUESTS) {
const ui32 warmUpRetries = 5;
const TVector<double> percentiles = {0.25, 0.5, 0.6, 0.7, 0.75, 0.8, 0.85, 0.9, 0.95, 0.97, 0.99, 1.0};
diff --git a/library/cpp/lcs/ut/ya.make b/library/cpp/lcs/ut/ya.make
index 3d12898788..63f2700b62 100644
--- a/library/cpp/lcs/ut/ya.make
+++ b/library/cpp/lcs/ut/ya.make
@@ -1,6 +1,6 @@
OWNER(velavokr)
-UNITTEST()
+UNITTEST()
PEERDIR(
ADDINCL library/cpp/lcs
diff --git a/library/cpp/lfalloc/ya.make b/library/cpp/lfalloc/ya.make
index cace05f9d8..000cd1d89a 100644
--- a/library/cpp/lfalloc/ya.make
+++ b/library/cpp/lfalloc/ya.make
@@ -2,9 +2,9 @@ LIBRARY()
OWNER(gulin)
-NO_UTIL()
+NO_UTIL()
-NO_COMPILER_WARNINGS()
+NO_COMPILER_WARNINGS()
IF (ARCH_AARCH64)
PEERDIR(
diff --git a/library/cpp/lfalloc/yt/ya.make b/library/cpp/lfalloc/yt/ya.make
index 8c1a4f8a72..58534f661b 100644
--- a/library/cpp/lfalloc/yt/ya.make
+++ b/library/cpp/lfalloc/yt/ya.make
@@ -2,9 +2,9 @@ LIBRARY()
OWNER(a-romanov)
-NO_UTIL()
+NO_UTIL()
-NO_COMPILER_WARNINGS()
+NO_COMPILER_WARNINGS()
IF (ARCH_AARCH64)
PEERDIR(
diff --git a/library/cpp/logger/ut/ya.make b/library/cpp/logger/ut/ya.make
index 2a461c1353..e20b2d8d00 100644
--- a/library/cpp/logger/ut/ya.make
+++ b/library/cpp/logger/ut/ya.make
@@ -1,4 +1,4 @@
-UNITTEST()
+UNITTEST()
OWNER(pg)
diff --git a/library/cpp/malloc/api/helpers/ya.make b/library/cpp/malloc/api/helpers/ya.make
index 62875bca0e..3dda368c82 100644
--- a/library/cpp/malloc/api/helpers/ya.make
+++ b/library/cpp/malloc/api/helpers/ya.make
@@ -1,6 +1,6 @@
LIBRARY()
-OWNER(pg)
+OWNER(pg)
PEERDIR(
library/cpp/malloc/api
diff --git a/library/cpp/malloc/api/ut/ya.make b/library/cpp/malloc/api/ut/ya.make
index e57225b45d..b6b6620408 100644
--- a/library/cpp/malloc/api/ut/ya.make
+++ b/library/cpp/malloc/api/ut/ya.make
@@ -1,4 +1,4 @@
-UNITTEST()
+UNITTEST()
OWNER(nga)
diff --git a/library/cpp/malloc/api/ya.make b/library/cpp/malloc/api/ya.make
index 0ebaa0c589..87a8edcd32 100644
--- a/library/cpp/malloc/api/ya.make
+++ b/library/cpp/malloc/api/ya.make
@@ -1,6 +1,6 @@
LIBRARY()
-NO_UTIL()
+NO_UTIL()
OWNER(nga)
diff --git a/library/cpp/malloc/jemalloc/ya.make b/library/cpp/malloc/jemalloc/ya.make
index 99db474eab..0e99bf334b 100644
--- a/library/cpp/malloc/jemalloc/ya.make
+++ b/library/cpp/malloc/jemalloc/ya.make
@@ -1,6 +1,6 @@
LIBRARY()
-NO_UTIL()
+NO_UTIL()
OWNER(nga)
diff --git a/library/cpp/messagebus/rain_check/test/ut/ya.make b/library/cpp/messagebus/rain_check/test/ut/ya.make
index 9f7a93417a..e5b7aa9fc7 100644
--- a/library/cpp/messagebus/rain_check/test/ut/ya.make
+++ b/library/cpp/messagebus/rain_check/test/ut/ya.make
@@ -1,4 +1,4 @@
-PROGRAM(library-messagebus-rain_check-test-ut)
+PROGRAM(library-messagebus-rain_check-test-ut)
OWNER(g:messagebus)
diff --git a/library/cpp/messagebus/rain_check/test/ya.make b/library/cpp/messagebus/rain_check/test/ya.make
index 4c1d6f8161..4e782be5c3 100644
--- a/library/cpp/messagebus/rain_check/test/ya.make
+++ b/library/cpp/messagebus/rain_check/test/ya.make
@@ -1,5 +1,5 @@
OWNER(g:messagebus)
-
+
RECURSE(
perftest
ut
diff --git a/library/cpp/messagebus/rain_check/ya.make b/library/cpp/messagebus/rain_check/ya.make
index 966d54c232..f116c45918 100644
--- a/library/cpp/messagebus/rain_check/ya.make
+++ b/library/cpp/messagebus/rain_check/ya.make
@@ -1,5 +1,5 @@
OWNER(g:messagebus)
-
+
RECURSE(
core
http
diff --git a/library/cpp/messagebus/test/TestMessageBus.py b/library/cpp/messagebus/test/TestMessageBus.py
index 0bbaa0a313..863e9f0557 100644
--- a/library/cpp/messagebus/test/TestMessageBus.py
+++ b/library/cpp/messagebus/test/TestMessageBus.py
@@ -5,4 +5,4 @@ from devtools.fleur.ytest.integration import UnitTestGroup
@constraint('library.messagebus')
class TestMessageBus(UnitTestGroup):
def __init__(self, context):
- UnitTestGroup.__init__(self, context, 'MessageBus', 'library-messagebus-test-ut')
+ UnitTestGroup.__init__(self, context, 'MessageBus', 'library-messagebus-test-ut')
diff --git a/library/cpp/messagebus/test/ut/ya.make b/library/cpp/messagebus/test/ut/ya.make
index fe1b4961d6..43e28f51b9 100644
--- a/library/cpp/messagebus/test/ut/ya.make
+++ b/library/cpp/messagebus/test/ut/ya.make
@@ -5,7 +5,7 @@ UNITTEST_FOR(library/cpp/messagebus)
TIMEOUT(1200)
SIZE(LARGE)
-
+
TAG(
ya:not_autocheck
ya:fat
diff --git a/library/cpp/packers/ut/ya.make b/library/cpp/packers/ut/ya.make
index 1c024ffd94..719841a77a 100644
--- a/library/cpp/packers/ut/ya.make
+++ b/library/cpp/packers/ut/ya.make
@@ -1,6 +1,6 @@
UNITTEST_FOR(library/cpp/packers)
-OWNER(velavokr)
+OWNER(velavokr)
SRCS(
packers_ut.cpp
diff --git a/library/cpp/packers/ya.make b/library/cpp/packers/ya.make
index e1ec4972ed..d09f8e7b38 100644
--- a/library/cpp/packers/ya.make
+++ b/library/cpp/packers/ya.make
@@ -1,6 +1,6 @@
LIBRARY()
-OWNER(velavokr)
+OWNER(velavokr)
SRCS(
packers.cpp
diff --git a/library/cpp/regex/pire/ut/ya.make b/library/cpp/regex/pire/ut/ya.make
index 8776695f40..9dafed8eae 100644
--- a/library/cpp/regex/pire/ut/ya.make
+++ b/library/cpp/regex/pire/ut/ya.make
@@ -1,6 +1,6 @@
# this test in not linked into build tree with ReCURSE and is built by unittest/library
-UNITTEST()
+UNITTEST()
OWNER(
g:util
@@ -40,5 +40,5 @@ SIZE(MEDIUM)
TIMEOUT(600)
PIRE_INLINE(inline_ut.cpp)
-
+
END()
diff --git a/library/cpp/string_utils/base64/bench/metrics/ya.make b/library/cpp/string_utils/base64/bench/metrics/ya.make
index b0406516c3..6ed5a554f3 100644
--- a/library/cpp/string_utils/base64/bench/metrics/ya.make
+++ b/library/cpp/string_utils/base64/bench/metrics/ya.make
@@ -8,7 +8,7 @@ PY2TEST()
SIZE(LARGE)
TAG(
- ya:force_sandbox
+ ya:force_sandbox
sb:intel_e5_2660v1
ya:fat
)
diff --git a/library/cpp/testing/benchmark/examples/metrics/ya.make b/library/cpp/testing/benchmark/examples/metrics/ya.make
index a9dbdca9fa..1456477d69 100644
--- a/library/cpp/testing/benchmark/examples/metrics/ya.make
+++ b/library/cpp/testing/benchmark/examples/metrics/ya.make
@@ -8,7 +8,7 @@ PY2TEST()
SIZE(LARGE)
TAG(
- ya:force_sandbox
+ ya:force_sandbox
sb:intel_e5_2660v1
ya:fat
)
diff --git a/library/cpp/testing/unittest/ut/ya.make b/library/cpp/testing/unittest/ut/ya.make
index 6d4c0959cc..c573099d2f 100644
--- a/library/cpp/testing/unittest/ut/ya.make
+++ b/library/cpp/testing/unittest/ut/ya.make
@@ -1,6 +1,6 @@
UNITTEST_FOR(library/cpp/testing/unittest)
-OWNER(snowball)
+OWNER(snowball)
SRCS(
main.cpp
diff --git a/library/cpp/unicode/normalization/ya.make b/library/cpp/unicode/normalization/ya.make
index 95bc93f297..1fcac57833 100644
--- a/library/cpp/unicode/normalization/ya.make
+++ b/library/cpp/unicode/normalization/ya.make
@@ -1,6 +1,6 @@
LIBRARY()
-NO_UTIL()
+NO_UTIL()
OWNER(alzobnin)
diff --git a/library/cpp/xml/document/xml-document.cpp b/library/cpp/xml/document/xml-document.cpp
index 18a554d732..0f2cb8459c 100644
--- a/library/cpp/xml/document/xml-document.cpp
+++ b/library/cpp/xml/document/xml-document.cpp
@@ -1,7 +1,7 @@
#include "xml-document.h"
-#include <libxml/xinclude.h>
-#include <libxml/xpathInternals.h>
+#include <libxml/xinclude.h>
+#include <libxml/xpathInternals.h>
#include <library/cpp/xml/init/init.h>
diff --git a/library/cpp/xml/init/init.cpp b/library/cpp/xml/init/init.cpp
index aa96c2dd31..186891663e 100644
--- a/library/cpp/xml/init/init.cpp
+++ b/library/cpp/xml/init/init.cpp
@@ -1,9 +1,9 @@
#include "init.h"
-#include <libxml/xmlIO.h>
-#include <libxml/parser.h>
-#include <libxml/parserInternals.h>
-#include <libxml/tree.h>
+#include <libxml/xmlIO.h>
+#include <libxml/parser.h>
+#include <libxml/parserInternals.h>
+#include <libxml/tree.h>
#include <library/cpp/charset/recyr.hh>
#include <util/generic/singleton.h>
diff --git a/library/cpp/xml/init/ptr.h b/library/cpp/xml/init/ptr.h
index 7387c7cc40..0103a17bfb 100644
--- a/library/cpp/xml/init/ptr.h
+++ b/library/cpp/xml/init/ptr.h
@@ -1,11 +1,11 @@
#pragma once
#include <util/generic/ptr.h>
-#include <libxml/tree.h>
-#include <libxml/parser.h>
-#include <libxml/xpath.h>
-#include <libxml/xpathInternals.h>
-#include <libxml/xmlsave.h>
+#include <libxml/tree.h>
+#include <libxml/parser.h>
+#include <libxml/xpath.h>
+#include <libxml/xpathInternals.h>
+#include <libxml/xmlsave.h>
#include <libxml/uri.h>
#include <libxml/xmlschemas.h>
diff --git a/library/python/fs/__init__.py b/library/python/fs/__init__.py
index b1b7cde079..19c0c7eded 100644
--- a/library/python/fs/__init__.py
+++ b/library/python/fs/__init__.py
@@ -1,5 +1,5 @@
-# coding: utf-8
-
+# coding: utf-8
+
import codecs
import errno
import logging
@@ -162,10 +162,10 @@ def remove_tree_safe(path):
os.remove(path)
elif stat.S_ISDIR(st.st_mode):
shutil.rmtree(fix_path_encoding(path), ignore_errors=True)
- # XXX
- except UnicodeDecodeError as e:
- logging.exception(u'remove_tree_safe with argument %s raise exception: %s', path, e)
- raise
+ # XXX
+ except UnicodeDecodeError as e:
+ logging.exception(u'remove_tree_safe with argument %s raise exception: %s', path, e)
+ raise
except OSError:
pass
diff --git a/library/python/symbols/python/syms.cpp b/library/python/symbols/python/syms.cpp
index 9b52574cb1..b09538c61f 100644
--- a/library/python/symbols/python/syms.cpp
+++ b/library/python/symbols/python/syms.cpp
@@ -11,7 +11,7 @@ SYM(Py_IncRef)
BEGIN_SYMS("python")
SYM(PyObject_GetBuffer)
SYM(PyBuffer_Release)
-SYM(PyCell_New)
+SYM(PyCell_New)
SYM(Py_DecRef)
SYM(Py_IncRef)
END_SYMS()
diff --git a/library/python/testing/yatest_common/yatest/common/canonical.py b/library/python/testing/yatest_common/yatest/common/canonical.py
index b6a136d3e9..023a619fa1 100644
--- a/library/python/testing/yatest_common/yatest/common/canonical.py
+++ b/library/python/testing/yatest_common/yatest/common/canonical.py
@@ -63,8 +63,8 @@ def canonical_execute(
binary, args=None, check_exit_code=True,
shell=False, timeout=None, cwd=None,
env=None, stdin=None, stderr=None, creationflags=0,
- file_name=None, save_locally=False, close_fds=False,
- diff_tool=None, diff_file_name=None, diff_tool_timeout=None,
+ file_name=None, save_locally=False, close_fds=False,
+ diff_tool=None, diff_file_name=None, diff_tool_timeout=None,
):
"""
Shortcut to execute a binary and canonize its stdout
@@ -81,7 +81,7 @@ def canonical_execute(
:param file_name: output file name. if not specified program name will be used
:param diff_tool: path to custome diff tool
:param diff_file_name: custom diff file name to create when diff is found
- :param diff_tool_timeout: timeout for running diff tool
+ :param diff_tool_timeout: timeout for running diff tool
:return: object that can be canonized
"""
if type(binary) == list:
@@ -98,10 +98,10 @@ def canonical_execute(
del execute_args["save_locally"]
del execute_args["diff_tool"]
del execute_args["diff_file_name"]
- del execute_args["diff_tool_timeout"]
+ del execute_args["diff_tool_timeout"]
if not file_name and stdin:
file_name = os.path.basename(stdin.name)
- return _canonical_execute(process.execute, execute_args, file_name, save_locally, diff_tool, diff_file_name, diff_tool_timeout)
+ return _canonical_execute(process.execute, execute_args, file_name, save_locally, diff_tool, diff_file_name, diff_tool_timeout)
def canonical_py_execute(
@@ -109,7 +109,7 @@ def canonical_py_execute(
shell=False, timeout=None, cwd=None, env=None,
stdin=None, stderr=None, creationflags=0,
file_name=None, save_locally=False, close_fds=False,
- diff_tool=None, diff_file_name=None, diff_tool_timeout=None,
+ diff_tool=None, diff_file_name=None, diff_tool_timeout=None,
):
"""
Shortcut to execute a python script and canonize its stdout
@@ -126,7 +126,7 @@ def canonical_py_execute(
:param file_name: output file name. if not specified program name will be used
:param diff_tool: path to custome diff tool
:param diff_file_name: custom diff file name to create when diff is found
- :param diff_tool_timeout: timeout for running diff tool
+ :param diff_tool_timeout: timeout for running diff tool
:return: object that can be canonized
"""
command = [runtime.source_path(script_path)] + _prepare_args(args)
@@ -139,8 +139,8 @@ def canonical_py_execute(
del execute_args["save_locally"]
del execute_args["diff_tool"]
del execute_args["diff_file_name"]
- del execute_args["diff_tool_timeout"]
- return _canonical_execute(process.py_execute, execute_args, file_name, save_locally, diff_tool, diff_file_name, diff_tool_timeout)
+ del execute_args["diff_tool_timeout"]
+ return _canonical_execute(process.py_execute, execute_args, file_name, save_locally, diff_tool, diff_file_name, diff_tool_timeout)
def _prepare_args(args):
@@ -151,7 +151,7 @@ def _prepare_args(args):
return args
-def _canonical_execute(excutor, kwargs, file_name, save_locally, diff_tool, diff_file_name, diff_tool_timeout):
+def _canonical_execute(excutor, kwargs, file_name, save_locally, diff_tool, diff_file_name, diff_tool_timeout):
res = excutor(**kwargs)
command = kwargs["command"]
file_name = file_name or process.get_command_name(command)
@@ -173,4 +173,4 @@ def _canonical_execute(excutor, kwargs, file_name, save_locally, diff_tool, diff
with open(err_file_path, "wb") as err_file:
err_file.write(res.std_err)
- return canonical_file(out_file_path, local=save_locally, diff_tool=diff_tool, diff_file_name=diff_file_name, diff_tool_timeout=diff_tool_timeout)
+ return canonical_file(out_file_path, local=save_locally, diff_tool=diff_tool, diff_file_name=diff_file_name, diff_tool_timeout=diff_tool_timeout)
diff --git a/library/python/testing/yatest_common/yatest/common/network.py b/library/python/testing/yatest_common/yatest/common/network.py
index 37bcb1b8e0..67909e3a65 100644
--- a/library/python/testing/yatest_common/yatest/common/network.py
+++ b/library/python/testing/yatest_common/yatest/common/network.py
@@ -232,7 +232,7 @@ def get_ephemeral_range():
filename = "/proc/sys/net/ipv4/ip_local_port_range"
if os.path.exists(filename):
with open(filename) as afile:
- data = afile.read(1024) # fix for musl
+ data = afile.read(1024) # fix for musl
port_range = tuple(map(int, data.strip().split()))
if len(port_range) == 2:
return port_range
diff --git a/library/ya.make b/library/ya.make
index 86f833bd02..d311a075a8 100644
--- a/library/ya.make
+++ b/library/ya.make
@@ -7,7 +7,7 @@ RECURSE(
recipes
#lemmer/byk/ut
)
-
+
IF (NOT SANITIZER_TYPE)
RECURSE(
go