Add proper pytest config

This commit is contained in:
Christopher Grebs
2014-04-17 22:39:42 +02:00
parent b8f67130ea
commit 73693ed916
2 changed files with 18 additions and 0 deletions

View File

@@ -1,2 +1,18 @@
[pytest]
addopts=-vs --pep8 --flakes
timeout=5
norecursedirs=.tox
pep8ignore =
*.py E128
docs/conf.py ALL
tests/*.py ALL
flakes-ignore =
docs/conf.py ALL
tests/*.py ALL
[flake8]
ignore = E128
exclude = .tox,.git,docs/conf.py,tests/*.py
[wheel]
universal = 1

View File

@@ -17,6 +17,8 @@ test_requires = [
'coverage',
'pytest',
'pytest-cov>=1.4',
'pytest-flakes',
'pytest-pep8',
'python-coveralls',
]