Skip to content

Commit

Permalink
Check style when running tox
Browse files Browse the repository at this point in the history
Change-Id: Idedf823a1572c40692e445694461b4196b75275d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
  • Loading branch information
collivier committed May 21, 2017
1 parent d7342a0 commit 2bbf149
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
coverage==4.1
mock==1.3.0
nose==1.3.7
flake8>=2.5.4,<2.6.0 # MIT
8 changes: 7 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py27
envlist = pep8,py27

[testenv]
deps =
Expand All @@ -12,3 +12,9 @@ commands = nosetests --with-xunit \
--cover-xml \
--cover-html \
functest/tests/unit

[testenv:pep8]
basepython = python2.7
deps =
{[testenv]deps}
commands = flake8

0 comments on commit 2bbf149

Please sign in to comment.