[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"