[pkg] Reorganize a bit tox.ini file
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 08 Feb 2017 14:32:28 +0100
changeset 2342 81774924c0d3
parent 2341 81d96067a14d
child 2343 7b6041561f7b
[pkg] Reorganize a bit tox.ini file
tox.ini
--- a/tox.ini	Wed Feb 08 14:32:09 2017 +0100
+++ b/tox.ini	Wed Feb 08 14:32:28 2017 +0100
@@ -11,6 +11,10 @@
   -rdev-requirements.txt
 commands = {envpython} -m pytest {posargs:{toxinidir}/test}
 
+[pytest]
+python_files = *test_*.py
+
+
 [testenv:check-manifest]
 skip_install = true
 deps =
@@ -35,6 +39,14 @@
   flake8
 commands = flake8 --exit-zero --show-source --output-file=code_quality.log {toxinidir}
 
+[flake8]
+format = pylint
+ignore = W503
+max-line-length = 100
+max-complexity = 12
+exclude = doc/conf.py,uiprops.py,entities/generated.py,views/uicfg.py,schema/seda2.py,migration/*,test/data/*,setup.py,.tox/*
+
+
 [testenv:make]
 whitelist_externals =
   make
@@ -42,6 +54,7 @@
     PYTHONHASHSEED = 0
 commands = make {posargs}
 
+
 [testenv:doc]
 changedir = doc
 whitelist_externals =
@@ -49,13 +62,3 @@
 deps =
   sphinx
 commands = sphinx-build -b html -d {envtmpdir}/doctrees .  {envtmpdir}/html
-
-[flake8]
-format = pylint
-ignore = W503
-max-line-length = 100
-max-complexity = 12
-exclude = doc/conf.py,uiprops.py,entities/generated.py,views/uicfg.py,schema/seda2.py,migration/*,test/data/*,setup.py,.tox/*
-
-[pytest]
-python_files = *test_*.py