Commit 43fa98d0 authored by Nsukami Patrick's avatar Nsukami Patrick
Browse files

Test: update tox configuration

- install deps from dev-requiremnts.txt file
- update pytest section
- update flake8 section
parent 2f8add201e76
[tox]
envlist = py27,py3,flake8
envlist = py27, py3, flake8
[testenv]
deps =
pytest
https://hg.logilab.org/master/cubes/sioc/archive/default.tar.bz2
-rdev-requirements.txt
commands =
{envpython} -m pytest {posargs}
[testenv:flake8]
skip_install = true
deps =
flake8
commands = flake8
[pytest]
python_files = *test_*.py
testpaths = test
addopts = -r fEs
[testenv:flake8-jenkins]
[testenv:flake8]
basepython = python3
skip_install = true
deps =
flake8
commands = flake8 --exit-zero --show-source --output-file=code_quality.log {toxinidir}
commands = {envpython} -m flake8 {toxinidir} {posargs}
[flake8]
format = pylint
max-line-length = 100
ignore = E731,W503
exclude = cubicweb_blog/__pkginfo__.py,cubicweb_blog/migration/*,test/data/*,.tox/*
[pytest]
python_files = *test_*.py
testpaths = test
[testenv:flake8-jenkins]
skip_install = true
deps =
flake8
commands = flake8 --exit-zero --show-source --output-file=code_quality.log {toxinidir}
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