aboutsummaryrefslogtreecommitdiffstats
path: root/build/plugins/pybuild.py
diff options
context:
space:
mode:
authorexprmntr <exprmntr@yandex-team.ru>2022-02-10 16:46:50 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:50 +0300
commit078ddb2fb76387cae14e8c3ceb5a896009a5a539 (patch)
treedda2d61bf8f818c76b5602b79366b5fcbcf2e479 /build/plugins/pybuild.py
parent5085152b94bf621933243a498def7f37d2e76b58 (diff)
downloadydb-078ddb2fb76387cae14e8c3ceb5a896009a5a539.tar.gz
Restoring authorship annotation for exprmntr <exprmntr@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'build/plugins/pybuild.py')
-rw-r--r--build/plugins/pybuild.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/build/plugins/pybuild.py b/build/plugins/pybuild.py
index f32a2d39a0..4dbc53cfd1 100644
--- a/build/plugins/pybuild.py
+++ b/build/plugins/pybuild.py
@@ -128,7 +128,7 @@ def add_python_lint_checks(unit, py_ver, files):
# temporary allowed, TODO: remove
"taxi/uservices/",
"travel/",
- "market/report/lite/", # MARKETOUT-38662, deadline: 2021-08-12
+ "market/report/lite/", # MARKETOUT-38662, deadline: 2021-08-12
"passport/backend/oauth/", # PASSP-35982
)
@@ -522,15 +522,15 @@ def onpy_srcs(unit, *args):
unit.onsrcs(['GLOBAL', '{}.fbs.pysrc'.format(pysrc_base_name)])
-def _check_test_srcs(*args):
+def _check_test_srcs(*args):
used = set(args) & {"NAMESPACE", "TOP_LEVEL", "__main__.py"}
if used:
param = list(used)[0]
ymake.report_configure_error('in TEST_SRCS: you cannot use {} here - it would broke testing machinery'.format(param))
-
-
-def ontest_srcs(unit, *args):
- _check_test_srcs(*args)
+
+
+def ontest_srcs(unit, *args):
+ _check_test_srcs(*args)
if unit.get('PY3TEST_BIN' if is_py3(unit) else 'PYTEST_BIN') != 'no':
unit.onpy_srcs(["NAMESPACE", "__tests__"] + list(args))