forked from CZ-NIC/pyoidc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
37 lines (32 loc) · 745 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
[tox]
envlist = py{37,38,39,310,311},docs,quality
skip_missing_interpreters = True
[testenv]
commands =
py.test --cov-report=xml --cov=oic {posargs:tests}
extras = testing
deps =
pytest-cov
[testenv:docs]
whitelist_externals = make
extras = docs
commands = sphinx-build -b html doc/ doc/_build/html -W
[testenv:quality]
ignore_errors = True
deps = twine
extras =
quality
types
commands =
isort --diff --check-only src/ tests/
pylama src/ tests/
pydocstyle src
mypy --config-file mypy.ini src/ tests/
black src/ tests/ --check -t py36
python3 setup.py --quiet sdist
bandit -a file -r src/ oauth_example/ oidc_example/
twine check dist/*
[pep8]
max-line-length=100
[pytest]
addopts = --color=yes