Skip to content

Commit

Permalink
tests: check pyflakes compliance via pytest-flakes
Browse files Browse the repository at this point in the history
  • Loading branch information
jtriley committed Feb 11, 2014
1 parent 69e564f commit d7efdc7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[pytest]
addopts = starcluster -xvs -rs --pep8 --clearcache
addopts = starcluster -xvs -rs --pep8 --flakes --clearcache
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ watchdog==0.7.1
pytest==2.5.2
pytest-cov==1.6
pytest-pep8==1.0.5
pytest-flakes==0.2
sphinx==1.2.1
pudb==2013.5.1
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ def run_tests(self):

console_scripts = ['starcluster = starcluster.cli:main']
extra = dict(test_suite="starcluster.tests",
tests_require=["pytest", "pytest-cov", "pytest-pep8"],
tests_require=["pytest", "pytest-cov", "pytest-pep8",
"pytest-flakes"],
cmdclass={"test": PyTest},
install_requires=["paramiko>=1.12.1", "boto>=2.23.0",
"workerpool>=0.9.2", "Jinja2>=2.7",
Expand Down

0 comments on commit d7efdc7

Please sign in to comment.