diff --git a/tox.ini b/tox.ini index 37001fc0afe779baef04b144603769c1255501cb..26e0518bb6564d8ab2580e7bdc706642659fe01d 100644 --- a/tox.ini +++ b/tox.ini @@ -11,9 +11,9 @@ envdir = {toxworkdir}/globalenv commands_pre = - sudo apt update - sudo apt install python3-ldap libldap2-dev libssl-dev libsasl2-dev python3.7-dev -y - - ./dev.sh install-all + - poetry install commands = - - poetry run pytest --cov=. {posargs} aleksis/ apps/official/ + - poetry run pytest --cov=. {posargs} aleksis/ [testenv:selenium] setenv = @@ -24,9 +24,9 @@ setenv = [testenv:lint] commands = - - poetry run black --check --diff aleksis/ apps/official/ --exclude "migrations" - - poetry run isort -c --diff --stdout -rc -s migrations aleksis/ apps/official/ - poetry run flake8 {posargs} --exclude-from-doctest migrations aleksis/ apps/official/ + - poetry run black --check --diff aleksis/ --exclude "migrations" + - poetry run isort -c --diff --stdout -rc -s migrations aleksis/ + poetry run flake8 {posargs} --exclude-from-doctest migrations aleksis/ [testenv:security] commands = @@ -42,8 +42,8 @@ commands = poetry run make -C docs/ html {posargs} [testenv:reformat] commands = - poetry run isort -rc aleksis/ apps/official/ - poetry run black aleksis/ apps/official/ + poetry run isort -rc aleksis/ + poetry run black aleksis/ [flake8] max_line_length = 100