Skip to content
This repository has been archived by the owner on Jul 18, 2023. It is now read-only.

Commit

Permalink
pep8 tests now use a config file
Browse files Browse the repository at this point in the history
This means they run consistently, rather than working differently when
run from `make` versus by hand.
  • Loading branch information
pjf committed Mar 15, 2017
1 parent dc45c69 commit baaa203
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ venv: requirements.txt
venv/bin/pip install -q -r requirements.txt

test: venv FORCE
venv/bin/pep8 . --exclude venv --max-line-length 120
venv/bin/pep8 .
venv/bin/yamllint .
venv/bin/nosetests --with-coverage --cover-package=.

Expand Down
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[pep8]
max-line-length=120
exclude=venv

0 comments on commit baaa203

Please sign in to comment.