Add tox setup

master
Tom Wilson 6 years ago
parent 7eb27c4b13
commit 86e86e2bde

@ -11,12 +11,16 @@ setup(name='preserve',
py_modules=['preserve'], py_modules=['preserve'],
extras_require={ extras_require={
'dev': [ 'dev': [
'pylint',
'autopep8', 'autopep8',
'pytest', 'pytest',
'pytest-flake8', 'pytest-flake8',
'pytest-cov', 'pytest-cov',
'pytest-sugar' 'pytest-sugar',
'tox'
],
'test': [
'pytest',
'pytest-flake8'
] ]
}, },
long_description=open('README.md').read(), long_description=open('README.md').read(),

@ -0,0 +1,6 @@
[tox]
envlist = py36, py37, py38
[testenv]
extras = test
commands = pytest
Loading…
Cancel
Save