Skip to content
Snippets Groups Projects
Verified Commit 9514ad34 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Fix tox config

parent 55f19a8a
No related branches found
No related tags found
1 merge request!55WIP: Resolve "Migrate to AlekSIS app"
Pipeline #4524 failed
......@@ -11,7 +11,7 @@ envdir = {toxworkdir}/globalenv
commands_pre =
- poetry install
commands =
- poetry run pytest --cov=. {posargs} aleksis/
- poetry run pytest --cov=. {posargs} ticdesk/
[testenv:selenium]
setenv =
......@@ -22,9 +22,9 @@ setenv =
[testenv:lint]
commands =
- poetry run black --check --diff aleksis/
- poetry run isort -c --diff --stdout aleksis/
poetry run flake8 {posargs} aleksis/
- poetry run black --check --diff ticdesk/
- poetry run isort -c --diff --stdout ticdesk/
poetry run flake8 {posargs} ticdesk/
[testenv:security]
commands =
......@@ -40,8 +40,8 @@ commands = poetry run make -C docs/ html {posargs}
[testenv:reformat]
commands =
poetry run isort aleksis/
poetry run black aleksis/
poetry run isort ticdesk/
poetry run black ticdesk/
[flake8]
max_line_length = 100
......
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