Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
person
Commits
c77ecaf9af15
Commit
34411a61
authored
Feb 28, 2019
by
Nsukami Patrick
Browse files
Test: update tox config, add flake8 section
parent
7492c44510f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
tox.ini
View file @
c77ecaf9
[tox]
envlist
=
py27, py3
envlist
=
py27, py3
, flake8
[testenv]
deps
=
pytest
commands
=
{envpython}
-m
pytest
{posargs}
...
...
@@ -12,3 +11,14 @@ commands =
python_files
=
*test_*.py
testpaths
=
test
addopts
=
-r fEs
[testenv:flake8]
basepython
=
python3
skip_install
=
true
deps
=
flake8
commands
=
{envpython} -m flake8 {toxinidir} {posargs}
[flake8]
max-line-length
=
120
exclude
=
cubicweb_person/migration/*,.tox/*
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment