aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkorsunandrei <korsunandrei@yandex-team.com>2024-03-28 11:49:49 +0300
committerkorsunandrei <korsunandrei@yandex-team.com>2024-03-28 12:03:24 +0300
commit6eca1ae0168122daab4d783907f6769a5e639329 (patch)
tree7138cbc0add231f79b12eb38a2511848c338426a
parent4900300c1bfd2592c46ab2ff17bf007b3b502a77 (diff)
downloadydb-6eca1ae0168122daab4d783907f6769a5e639329.tar.gz
feat yamake: allow using STYLE_RUFF outside of taxi
f8ca6c44abf01d6f0b4ffbdb47647c2fedd9a834
-rw-r--r--build/plugins/pybuild.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/build/plugins/pybuild.py b/build/plugins/pybuild.py
index 526f98b3cf..10ab9a8b33 100644
--- a/build/plugins/pybuild.py
+++ b/build/plugins/pybuild.py
@@ -209,10 +209,6 @@ def add_python_lint_checks(unit, py_ver, files):
ymake.report_configure_error(
'NO_LINT() and STYLE_RUFF() can\'t be enabled both at the same time',
)
- # temporary allow using ruff for taxi only
- ruff_allowed_paths = ("taxi/",)
- if not upath.startswith(ruff_allowed_paths):
- ymake.report_configure_error("STYLE_RUFF() is allowed only in " + ", ".join(ruff_allowed_paths))
resolved_files = get_resolved_files()
if resolved_files: