aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralevitskii <alevitskii@yandex-team.com>2024-12-17 20:18:54 +0300
committeralevitskii <alevitskii@yandex-team.com>2024-12-17 21:09:03 +0300
commit388987603602e525999e080adad04b61d823eadd (patch)
tree68c1a21c67c14ab6289e27815634d790bebe6a6d
parent25f527db97769d0b47f0d9fd5e8b0df8bba32bcb (diff)
downloadydb-388987603602e525999e080adad04b61d823eadd.tar.gz
Enable ruff style test splitting
Enable ruff style test splitting commit_hash:01e08ec34ed5efa4aad68d0d1a64eda015a928fc
-rw-r--r--build/conf/python.conf6
1 files changed, 5 insertions, 1 deletions
diff --git a/build/conf/python.conf b/build/conf/python.conf
index e666e32876..698f6b9f6a 100644
--- a/build/conf/python.conf
+++ b/build/conf/python.conf
@@ -198,6 +198,10 @@ when ($BLACK_FILE_PROCESSING_TIME == "") {
BLACK_FILE_PROCESSING_TIME=1.5
}
+when ($RUFF_FILE_PROCESSING_TIME == "") {
+ RUFF_FILE_PROCESSING_TIME=0.5
+}
+
# tag:python-specific tag:deprecated tag:internal
module _PY2_PROGRAM: _BASE_PY_PROGRAM {
SET(MODULE_LANG PY2)
@@ -299,7 +303,7 @@ RUFF_PROJECT_TO_CONFIG_MAP=build/config/tests/ruff/ruff_config_paths.json
macro STYLE_RUFF(CONFIG_TYPE="") {
.ALLOWED_IN_LINTERS_MAKE=yes
SET_APPEND(_MAKEFILE_INCLUDE_LIKE_DEPS ${ARCADIA_ROOT}/${RUFF_PROJECT_TO_CONFIG_MAP})
- _ADD_PY_LINTER_CHECK(NAME ruff LINTER tools/ruff_linter/bin/ruff_linter GLOBAL_RESOURCES build/external_resources/ruff CONFIGS $PYTHON_LINTERS_DEFAULT_CONFIGS PROJECT_TO_CONFIG_MAP $RUFF_PROJECT_TO_CONFIG_MAP CONFIG_TYPE $CONFIG_TYPE)
+ _ADD_PY_LINTER_CHECK(NAME ruff LINTER tools/ruff_linter/bin/ruff_linter GLOBAL_RESOURCES build/external_resources/ruff FILE_PROCESSING_TIME $RUFF_FILE_PROCESSING_TIME CONFIGS $PYTHON_LINTERS_DEFAULT_CONFIGS PROJECT_TO_CONFIG_MAP $RUFF_PROJECT_TO_CONFIG_MAP CONFIG_TYPE $CONFIG_TYPE)
}
# tag:python-specific tag:test