diff options
author | prettyboy <prettyboy@yandex-team.com> | 2023-10-06 11:12:50 +0300 |
---|---|---|
committer | prettyboy <prettyboy@yandex-team.com> | 2023-10-06 11:40:01 +0300 |
commit | e228e132065cef8ee84cfa22073fec62b0d90d47 (patch) | |
tree | 905d8a7dbc43d1dea57618f50f150d01834b325c | |
parent | 08e5ceb0120d558f6c87d40b70b849f439086850 (diff) | |
download | ydb-e228e132065cef8ee84cfa22073fec62b0d90d47.tar.gz |
[build/plugins/pybuild] Disable flake8 migrations using opensource.conf
-rw-r--r-- | build/conf/opensource.conf | 13 | ||||
-rw-r--r-- | build/plugins/pybuild.py | 3 |
2 files changed, 8 insertions, 8 deletions
diff --git a/build/conf/opensource.conf b/build/conf/opensource.conf index 5bd4ba6823..0258a7026f 100644 --- a/build/conf/opensource.conf +++ b/build/conf/opensource.conf @@ -12,16 +12,17 @@ when ($CATBOOST_OPENSOURCE == "yes") { } when ($OPENSOURCE == "yes") { - LOCAL_YDB_DOCKER_PUBLIC_BUILD=yes CATBOOST_OPENSOURCE=yes + DISABLE_FLAKE8_MIGRATIONS=yes GO_VET=no - USE_DYNAMIC_IDN=yes - USE_DYNAMIC_AIO=yes - USE_DYNAMIC_ICONV=yes - USE_ASMLIB=no + HAVE_MKL=no + LOCAL_YDB_DOCKER_PUBLIC_BUILD=yes SO_OUTPUTS=yes UDF_NO_PROBE=yes - HAVE_MKL=no + USE_ASMLIB=no + USE_DYNAMIC_AIO=yes + USE_DYNAMIC_ICONV=yes + USE_DYNAMIC_IDN=yes USE_MKL=no } diff --git a/build/plugins/pybuild.py b/build/plugins/pybuild.py index dfbc21da4f..b91fd61a17 100644 --- a/build/plugins/pybuild.py +++ b/build/plugins/pybuild.py @@ -173,8 +173,7 @@ def add_python_lint_checks(unit, py_ver, files): ] extra_params = [] - # Don't use migration config in opensource - if unit.get("OPENSOURCE") == "yes" or unit.get("DISABLE_FLAKE8_MIGRATIONS") == "yes": + if unit.get("DISABLE_FLAKE8_MIGRATIONS") == "yes": extra_params.append("DISABLE_FLAKE8_MIGRATIONS=yes") config_files = [flake8_cfg, ''] else: |