Skip to content
Snippets Groups Projects
Commit 96bbaf34 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Merge branch 'pipepine-fix' into 'master'

Fix tox issues

See merge request AlekSIS!272
parents 81b131da ea578c57
No related branches found
No related tags found
1 merge request!272Fix tox issues
Pipeline #2119 failed
...@@ -9,8 +9,6 @@ whitelist_externals = poetry ...@@ -9,8 +9,6 @@ whitelist_externals = poetry
skip_install = true skip_install = true
envdir = {toxworkdir}/globalenv envdir = {toxworkdir}/globalenv
commands_pre = commands_pre =
- sudo apt update
- sudo apt install python3-ldap libldap2-dev libssl-dev libsasl2-dev python3.7-dev -y
- poetry install - poetry install
commands = commands =
- poetry run pytest --cov=. {posargs} aleksis/ - poetry run pytest --cov=. {posargs} aleksis/
...@@ -24,9 +22,9 @@ setenv = ...@@ -24,9 +22,9 @@ setenv =
[testenv:lint] [testenv:lint]
commands = commands =
- poetry run black --check --diff aleksis/ --exclude "migrations" - poetry run black --check --diff aleksis/
- poetry run isort -c --diff --stdout -rc -s migrations aleksis/ - poetry run isort -c --diff --stdout -rc aleksis/
poetry run flake8 {posargs} --exclude-from-doctest migrations aleksis/ poetry run flake8 {posargs} aleksis/
[testenv:security] [testenv:security]
commands = commands =
...@@ -58,6 +56,7 @@ use_parantheses = 1 ...@@ -58,6 +56,7 @@ use_parantheses = 1
default_section = THIRDPARTY default_section = THIRDPARTY
known_first_party = aleksis known_first_party = aleksis
known_django = django known_django = django
skip = migrations
sections = FUTURE,STDLIB,DJANGO,THIRDPARTY,FIRSTPARTY,LOCALFOLDER sections = FUTURE,STDLIB,DJANGO,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
[mypy] [mypy]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment