Skip to content

Commit

Permalink
Update makefile to use flake8 instead of pyflakes
Browse files Browse the repository at this point in the history
  • Loading branch information
codeinthehole committed Aug 15, 2012
1 parent c234388 commit c97d6f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ ci:
# Run continous tests and generate lint reports
python setup.py develop
pip install -r requirements.txt
#./runtests.py --with-coverage
pyflakes oscar | perl -ple "s/: /: [E] /" | grep -v migrations > violations.txt
pep8 --exclude="migrations" oscar | perl -ple 's/: [WE](\d+)/: [W$1]/' > violations.txt
./runtests.py --with-coverage
flake8 oscar | perl -ple "s/: /: [E] /" | grep -v migrations > violations.txt

test:
./runtests.py
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ django-rosetta==0.6.8
Whoosh==2.4.1
WebTest==1.3.4
django-webtest==1.5.3
pyflakes==0.5.0

0 comments on commit c97d6f5

Please sign in to comment.