Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
oauth
Commits
da8eea146a37
Commit
93cb4416
authored
Mar 06, 2019
by
Nsukami Patrick
Browse files
Tox: add pytest section, update flake8 section
parent
4bcbaf38e201
Changes
1
Hide whitespace changes
Inline
Side-by-side
tox.ini
View file @
da8eea14
...
...
@@ -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/*,
Write
Preview
Markdown
is supported
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