forked from CZ-NIC/pyoidc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
37 lines (32 loc) · 738 Bytes
/
Copy pathtox.ini
File metadata and controls
37 lines (32 loc) · 738 Bytes
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{36,37,38},docs,quality
[testenv]
passenv = CI TRAVIS TRAVIS_*
commands =
py.test --cov-report= --cov=oic {posargs:tests}
codecov
extras = testing
deps =
codecov
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
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