Skip to content

Commit

Permalink
Fix flake8 for Python 2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
noirbizarre committed Oct 11, 2016
1 parent 2397be2 commit 6c9818f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,14 @@ def rst(filename):
install_requires = []
tests_require = ['mock', 'nose', 'rednose']
doc_require = ['sphinx']
qa_require = ['flake8', 'coverage']
qa_require = ['coverage']

if sys.version_info[0:2] < (2, 7):
install_requires.append('argparse')
tests_require.append('unittest2==0.5.1')
qa_require.append('flake8<3.0')
else:
qa_require.append('flake8')


setup(
Expand Down

0 comments on commit 6c9818f

Please sign in to comment.