You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
546 B
32 lines
546 B
[tox]
|
|
envlist = check, docs, tests
|
|
|
|
[testenv]
|
|
install_command = pip install {opts} {packages}
|
|
|
|
[testenv:check]
|
|
deps =
|
|
black
|
|
isort
|
|
flake8
|
|
commands =
|
|
black --check --diff keycloak tests docs
|
|
isort -c --df keycloak tests docs
|
|
flake8 keycloak tests docs
|
|
|
|
[testenv:tests]
|
|
deps =
|
|
-rrequirements.txt
|
|
setenv = file|tox.env
|
|
commands =
|
|
./test_keycloak_init.sh "pytest -v --cov=keycloak --cov-report term-missing {posargs}"
|
|
|
|
[flake8]
|
|
max-line-length = 99
|
|
|
|
[black]
|
|
line-length = 99
|
|
|
|
[isort]
|
|
line_length = 99
|
|
profile = "black"
|