Skip to content
Snippets Groups Projects

Fix tox issues

Merged Tom Teichler requested to merge pipepine-fix into master
All threads resolved!
+ 4
5
@@ -9,8 +9,6 @@ whitelist_externals = poetry
skip_install = true
envdir = {toxworkdir}/globalenv
commands_pre =
- sudo apt update
- sudo apt install python3-ldap libldap2-dev libssl-dev libsasl2-dev python3.7-dev -y
- poetry install
commands =
- poetry run pytest --cov=. {posargs} aleksis/
@@ -24,9 +22,9 @@ setenv =
[testenv:lint]
commands =
- 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/
- poetry run black --check --diff aleksis/
- poetry run isort -c --diff --stdout -rc aleksis/
poetry run flake8 {posargs} aleksis/
[testenv:security]
commands =
@@ -58,6 +56,7 @@ use_parantheses = 1
default_section = THIRDPARTY
known_first_party = aleksis
known_django = django
skip = migrations
sections = FUTURE,STDLIB,DJANGO,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
[mypy]
Loading