summaryrefslogtreecommitdiff
path: root/test-requirements.txt
diff options
context:
space:
mode:
authorAntoine Musso <hashar@free.fr>2014-07-25 11:10:52 +0200
committerAntoine Musso <hashar@free.fr>2014-07-25 11:21:30 +0200
commitd43055d44e58e8f010a71ec974c6a26f091a0b7a (patch)
treec815695cf289ebffbbd86ae60d960413afd33e9c /test-requirements.txt
parent2ddd5e5ef89da7f1e3b3a7d081fbc7f5c46ac11c (diff)
downloadgitpython-d43055d44e58e8f010a71ec974c6a26f091a0b7a.tar.gz
tox env to easily run flake8
Most people know about pep8 which enforce coding style. pyflakes goes a step beyond by analyzing the code. flake8 is basically a wrapper around both pep8 and pyflakes and comes with some additional checks. I find it very useful since you only need to require one package to have a lot of code issues reported to you. This patch provides a 'flake8' tox environement to easily install and run the utility on the code base. One simply has to: tox -eflake8 The env has been added to the default list of environement to have flake8 run by default. The repository in its current state does not pass checks but I noticed a pull request fixing pep8 issues. We can later easily ensure there is no regression by adjusting Travis configuration to run this env. More informations about flake8: https://pypi.python.org/pypi/flake8
Diffstat (limited to 'test-requirements.txt')
-rw-r--r--test-requirements.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/test-requirements.txt b/test-requirements.txt
index 6da60814..116fbbd3 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -1,4 +1,5 @@
# Remember to update README.md
coverage
+flake8
nose
mock