aboutsummaryrefslogtreecommitdiffstats
path: root/tools/black_linter/ya.make
diff options
context:
space:
mode:
authorprettyboy <prettyboy@yandex-team.com>2023-09-08 18:04:29 +0300
committerprettyboy <prettyboy@yandex-team.com>2023-09-08 19:16:03 +0300
commit54065fe53a95def89c154ae1072ef82c8521b370 (patch)
tree47418c069ac5b9fca4c8e1c98514b5037d4b35f9 /tools/black_linter/ya.make
parent817e41979557df1ec8f1f65f1a69d8e99fe3d948 (diff)
downloadydb-54065fe53a95def89c154ae1072ef82c8521b370.tar.gz
[build/plugins/ytest] Allow prebuilt linters for opensource (try 2)
Без этого, ydb или не сможет запускать flake8 с помощью ya make. diff который выедет в os ydb: ``` prettyboy@mous~> diff /tmp/aa /tmp/bb 93a94,97 > │   │   ├── flake8_py2 > │   │   │   └── ya.make > │   │   ├── flake8_py3 > │   │   │   └── ya.make 283a288,293 > │   │   ├── black_linter > │   │   │   ├── resources.json > │   │   │   └── ya.make.prebuilt > │   │   ├── flake8_linter > │   │   │   ├── resources.json > │   │   │   └── ya.make.prebuilt 50026a50037,50038 > │   ├── black_linter > │   │   └── ya.make 50090a50103,50104 > │   ├── flake8_linter > │   │   └── ya.make 85521c85535 < 7459 directories, 78059 files --- > 7465 directories, 78067 files ```
Diffstat (limited to 'tools/black_linter/ya.make')
-rw-r--r--tools/black_linter/ya.make13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/black_linter/ya.make b/tools/black_linter/ya.make
new file mode 100644
index 0000000000..ed2d642132
--- /dev/null
+++ b/tools/black_linter/ya.make
@@ -0,0 +1,13 @@
+IF (USE_PREBUILT_TOOLS OR OPENSOURCE)
+ INCLUDE(${ARCADIA_ROOT}/build/prebuilt/tools/black_linter/ya.make.prebuilt)
+ENDIF()
+
+IF (NOT PREBUILT)
+ INCLUDE(${ARCADIA_ROOT}/tools/black_linter/bin/ya.make)
+ENDIF()
+
+IF (NOT OPENSOURCE)
+ RECURSE(
+ bin
+ )
+ENDIF()