aboutsummaryrefslogtreecommitdiffstats
path: root/build/plugins/pybuild.py
diff options
context:
space:
mode:
authorspreis <spreis@yandex-team.com>2024-04-11 19:39:48 +0300
committerspreis <spreis@yandex-team.com>2024-04-11 19:52:12 +0300
commitc7906f50268a8a123f9c00e5e22779e695d76a22 (patch)
tree0b986ffde75533c9fe57da21526833dec90df555 /build/plugins/pybuild.py
parent6e92acd38db2b95841e460129787b86b2fd445d8 (diff)
downloadydb-c7906f50268a8a123f9c00e5e22779e695d76a22.tar.gz
Fix path of config
435fc8c2256c7aeaf416cc1ef3506c4173396efa
Diffstat (limited to 'build/plugins/pybuild.py')
-rw-r--r--build/plugins/pybuild.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/build/plugins/pybuild.py b/build/plugins/pybuild.py
index 65470a8c75..1853d3524b 100644
--- a/build/plugins/pybuild.py
+++ b/build/plugins/pybuild.py
@@ -217,7 +217,10 @@ def add_python_lint_checks(unit, py_ver, files):
params = ["ruff", "tools/ruff_linter/bin/ruff_linter"]
params += ["FILES"] + resolved_files
params += ["GLOBAL_RESOURCES", resource]
- configs = [unit.get('RUFF_CONFIG_PATHS_FILE'), 'build/config/tests/ruff/ruff.toml'] + get_ruff_configs(unit)
+ configs = [
+ rootrel_arc_src(unit.get('RUFF_CONFIG_PATHS_FILE'), unit),
+ 'build/config/tests/ruff/ruff.toml',
+ ] + get_ruff_configs(unit)
params += ['CONFIGS'] + configs
unit.on_add_linter_check(params)