aboutsummaryrefslogtreecommitdiffstats
path: root/library/python/cpp_test
diff options
context:
space:
mode:
authorsay <say@yandex-team.com>2023-09-28 17:58:30 +0300
committersay <say@yandex-team.com>2023-09-28 18:39:04 +0300
commite1bf3a3e544c1895f0cbdca317f43740cc8cb6db (patch)
tree8823a8b17bd9188a08a0c3fcb0f902b0320da38b /library/python/cpp_test
parent1b2cc051281e67c9b930068caaa1df1fc74e3c07 (diff)
downloadydb-e1bf3a3e544c1895f0cbdca317f43740cc8cb6db.tar.gz
Move style configs from devtools to build directory
Diffstat (limited to 'library/python/cpp_test')
-rw-r--r--library/python/cpp_test/test_cpp.py2
-rw-r--r--library/python/cpp_test/ya.make5
2 files changed, 2 insertions, 5 deletions
diff --git a/library/python/cpp_test/test_cpp.py b/library/python/cpp_test/test_cpp.py
index 674feb45e9..b7607d66c2 100644
--- a/library/python/cpp_test/test_cpp.py
+++ b/library/python/cpp_test/test_cpp.py
@@ -10,7 +10,7 @@ from library.python.testing.style import rules
import library.python.resource as lpr
-STYLE_CONFIG_JSON = json.dumps(yaml.safe_load(lpr.find('/cpp_style/config')))
+STYLE_CONFIG_JSON = json.dumps(yaml.safe_load(lpr.find('resfs/file/config.clang-format')))
RES_FILE_PREFIX = '/cpp_style/files/'
CHECKED_PATHS = list(lpr.iterkeys(RES_FILE_PREFIX, strip_prefix=True))
diff --git a/library/python/cpp_test/ya.make b/library/python/cpp_test/ya.make
index 6267cbf630..9fbc921298 100644
--- a/library/python/cpp_test/ya.make
+++ b/library/python/cpp_test/ya.make
@@ -1,6 +1,7 @@
PY3_LIBRARY()
PEERDIR(
+ build/config/tests/cpp_style
contrib/python/PyYAML
library/python/resource
library/python/testing/style
@@ -11,8 +12,4 @@ TEST_SRCS(
test_cpp.py
)
-RESOURCE(
- devtools/ya/handlers/style/style_config /cpp_style/config
-)
-
END()