Skip to content

Commit 4e75e41

Browse files
committed
towards pylint fixes, move aio tests outside of general module to separate directory KIKIMR-13478
ref:8858991 sync: https://proxy.sandbox.yandex-team.ru/2576815325
1 parent cfe5f91 commit 4e75e41

File tree

9 files changed

+6
-5
lines changed

9 files changed

+6
-5
lines changed

kikimr/public/sdk/python/test-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,4 @@ pytest-pep8
4242
pytest-flake8
4343
flake8==3.9.2
4444
sqlalchemy==1.4.26
45+
pylint-protobuf
File renamed without changes.

kikimr/public/sdk/python/tests/aio/__init__.py

Whitespace-only changes.

ydb/aio/tests/test_async_iter_stream.py renamed to kikimr/public/sdk/python/tests/aio/test_async_iter_stream.py

File renamed without changes.

ydb/aio/tests/test_connection.py renamed to kikimr/public/sdk/python/tests/aio/test_connection.py

File renamed without changes.

ydb/aio/tests/test_connection_pool.py renamed to kikimr/public/sdk/python/tests/aio/test_connection_pool.py

File renamed without changes.

ydb/aio/tests/test_session_pool.py renamed to kikimr/public/sdk/python/tests/aio/test_session_pool.py

File renamed without changes.

ydb/aio/conftest.py renamed to kikimr/public/sdk/python/tests/conftest.py

File renamed without changes.

kikimr/public/sdk/python/tox.ini

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py38,pep8,pylint,black
2+
envlist = py38,style,pylint,black
33
minversion = 3.14.4
44
skipsdist = True
55
ignore_basepython_conflict = true
@@ -8,7 +8,7 @@ ignore_basepython_conflict = true
88
basepython = python3
99
usedevelop = True
1010
install_command = pip install {opts} {packages}
11-
setenv =
11+
setenv =
1212
YDB_ANONYMOUS_CREDENTIALS = 1
1313
deps =
1414
-r{toxinidir}/requirements.txt
@@ -22,20 +22,20 @@ commands =
2222
skip_install = true
2323
deps = black
2424
commands =
25-
black ydb examples
25+
black ydb examples tests/
2626

2727
[testenv:pylint]
2828
deps = pylint
2929
-r{toxinidir}/requirements.txt
3030
-r{toxinidir}/test-requirements.txt
3131
commands = pylint ydb
3232

33-
[testenv:pep8]
33+
[testenv:style]
3434
commands =
3535
pytest --flake8 -m flake8
3636

3737
[flake8]
38-
show-source = false
38+
show-source = true
3939
builtins = _
4040
max-line-length = 160
4141
ignore=E203,W503

0 commit comments

Comments
 (0)