Commit 93cb4416 authored by Nsukami Patrick's avatar Nsukami Patrick
Browse files

Tox: add pytest section, update flake8 section

parent 4bcbaf38e201
......@@ -9,10 +9,19 @@ deps =
commands =
{envpython} -m pytest {posargs}
[pytest]
python_files = *test_*.py
testpaths = test
addopts = -r fEs
[testenv:flake8]
basepython = python3
skip_install = true
deps =
flake8 >= 3.5
flake8
commands =
{envpython} -m flake8 -- --exclude=*_Any.py
{envpython} -m flake8 {toxinidir} {posargs}
[flake8]
max-line-length = 120
exclude = cubicweb_oauth/migration/*,.tox/*,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment