fixed tox for testing, removed pep8 unittest and added flake8 stage in tox

This commit is contained in:
Corey Goldberg 2013-09-27 11:19:05 -04:00
parent 1f37d6849d
commit 55701d643f
3 changed files with 11 additions and 11 deletions

12
tox.ini
View File

@ -4,12 +4,20 @@
# and then run "tox" from this directory.
[tox]
envlist = py27, py32, py33, pypy
envlist = flake8, py27, py32, py33, pypy
[flake8]
exclude = .tox, build
[testenv]
deps =
nose
pep8
commands =
{envpython} setup.py install
nosetests
[testenv:flake8]
deps =
flake8
commands =
flake8

View File

@ -1,3 +1,2 @@
from xvfbwrapper import *
__version__ = '0.2.3'

View File

@ -7,13 +7,6 @@ import os
import sys
import unittest
try:
from StringIO import StringIO # Python 2.7 compat
except ImportError:
from io import StringIO
import pep8
class TestXvfb(unittest.TestCase):