aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-03-04 13:00:59 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-03-04 13:00:59 +0300
commit9d0b6817b42d7c07c757d4fc4a9c6cdac2d92413 (patch)
tree921cc18990bf6ea6732259be35eebf8d079d7650
parent4de4646021e9377bcda9b448fd2cb224b15b6aa9 (diff)
downloadydb-9d0b6817b42d7c07c757d4fc4a9c6cdac2d92413.tar.gz
intermediate changes
ref:b6c610b592628f654b035720d4d86493b0cc40ee
-rw-r--r--build/config/tests/clang_tidy/config.yaml1
-rw-r--r--contrib/libs/ya.make1
-rw-r--r--contrib/python/parso/py3/patches/02-disable-tests-for-python-3.10.patch11
-rw-r--r--contrib/python/parso/py3/tests/test_python_errors.py2
4 files changed, 14 insertions, 1 deletions
diff --git a/build/config/tests/clang_tidy/config.yaml b/build/config/tests/clang_tidy/config.yaml
index d55707592ca..82e0a3fc36a 100644
--- a/build/config/tests/clang_tidy/config.yaml
+++ b/build/config/tests/clang_tidy/config.yaml
@@ -2,6 +2,7 @@ Checks: >
-*,
arcadia-typeid-name-restriction,
bugprone-use-after-move,
+ performance-implicit-conversion-in-loop,
readability-identifier-naming,
CheckOptions:
- key: readability-identifier-naming.ClassCase
diff --git a/contrib/libs/ya.make b/contrib/libs/ya.make
index 62cff47c590..4e0077465c9 100644
--- a/contrib/libs/ya.make
+++ b/contrib/libs/ya.make
@@ -324,6 +324,7 @@ RECURSE(
tbb
tcmalloc
tcmalloc/dynamic
+ tdlib
tensorboard
termbox
tf
diff --git a/contrib/python/parso/py3/patches/02-disable-tests-for-python-3.10.patch b/contrib/python/parso/py3/patches/02-disable-tests-for-python-3.10.patch
new file mode 100644
index 00000000000..27ea99772d4
--- /dev/null
+++ b/contrib/python/parso/py3/patches/02-disable-tests-for-python-3.10.patch
@@ -0,0 +1,11 @@
+--- contrib/python/parso/py3/tests/test_python_errors.py (index)
++++ contrib/python/parso/py3/tests/test_python_errors.py (working tree)
+@@ -28,7 +28,7 @@ def assert_comparison(code, error_code, positions):
+ errors = [(error.start_pos, error.code) for error in _get_error_list(code)]
+ assert [(pos, error_code) for pos in positions] == errors
+
+-
++@pytest.mark.skipif(sys.version_info >= (3, 10), reason="parso don't support Python 3.10 yet")
+ @pytest.mark.parametrize('code', FAILING_EXAMPLES)
+ def test_python_exception_matches(code):
+ wanted, line_nr = _get_actual_exception(code)
diff --git a/contrib/python/parso/py3/tests/test_python_errors.py b/contrib/python/parso/py3/tests/test_python_errors.py
index adf5f069312..fe43a301ad0 100644
--- a/contrib/python/parso/py3/tests/test_python_errors.py
+++ b/contrib/python/parso/py3/tests/test_python_errors.py
@@ -28,7 +28,7 @@ def assert_comparison(code, error_code, positions):
errors = [(error.start_pos, error.code) for error in _get_error_list(code)]
assert [(pos, error_code) for pos in positions] == errors
-
+@pytest.mark.skipif(sys.version_info >= (3, 10), reason="parso don't support Python 3.10 yet")
@pytest.mark.parametrize('code', FAILING_EXAMPLES)
def test_python_exception_matches(code):
wanted, line_nr = _get_actual_exception(code)