Commits

Rudy Lattae committed 6049708

Update tox to install in development mode.

  • Participants
  • Parent commits 85cda17

Comments (0)

Files changed (2)

requirements-dev.txt

--e .
 flake8==2.0
 envlist = py27, py26
 
 [testenv]
-commands = 
-	pip install -r {toxinidir}/requirements-dev.txt
-	checkit --with-xunit
+skipdist = True
+usedevelop = True
+deps = -r{toxinidir}/requirements-dev.txt
+commands = checkit --with-xunit
 
-[testenv:pep8]
-commands =
-        pip install -r {toxinidir}/requirements-dev.txt
-        flake8 checkit.py
+[testenv:dev]
+
+[testenv:style]
+commands = flake8 checkit.py
+
+[testenv:package]
+skipsdist = False
+usedevelop = False
+commands = checkit
+
+[flake8]
+max-line-length = 120
+exclude = tests/*
+max-complexity = 10