forked from puiterwijk/flask-oidc
-
Notifications
You must be signed in to change notification settings - Fork 15
/
tox.ini
40 lines (34 loc) · 819 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[tox]
isolated_build = True
envlist = py{38,39,310,311},docs,format,lint,licenses
skip_missing_interpreters = true
[testenv]
passenv = HOME
skip_install = true
allowlist_externals =
poetry
commands_pre =
poetry install --all-extras
commands =
poetry run pytest --cov flask_oidc --cov-report term-missing --cov-report xml --cov-report html {posargs:tests}
[testenv:docs]
changedir = docs
allowlist_externals =
{[testenv]allowlist_externals}
mkdir
rm
commands=
rm -rf _build
mkdir -p _static
poetry run sphinx-build -W -b html -d {envtmpdir}/doctrees . _build/html
[testenv:format]
commands =
poetry run black --check --diff .
[testenv:lint]
commands =
poetry run ruff check --diff .
[testenv:licenses]
commands =
poetry run reuse lint
[flake8]
max-line-length = 89