fixed tox for testing, removed pep8 unittest and added flake8 stage in tox
This commit is contained in:
parent
1f37d6849d
commit
55701d643f
12
tox.ini
12
tox.ini
|
@ -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
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
from xvfbwrapper import *
|
||||
|
||||
__version__ = '0.2.3'
|
||||
|
|
|
@ -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):
|
||||
|
||||
|
|
Loading…
Reference in New Issue