Skip to content
This repository
Browse code

Update makefile to use flake8 instead of pyflakes

  • Loading branch information...
commit c97d6f5b066f586214657866a92ace0920b81d86 1 parent c234388
David Winterbottom authored August 15, 2012
5  Makefile
@@ -17,9 +17,8 @@ ci:
17 17
 	# Run continous tests and generate lint reports
18 18
 	python setup.py develop
19 19
 	pip install -r requirements.txt
20  
-	#./runtests.py --with-coverage
21  
-	pyflakes oscar | perl -ple "s/: /: [E] /" | grep -v migrations > violations.txt
22  
-	pep8 --exclude="migrations" oscar | perl -ple 's/: [WE](\d+)/: [W$1]/' > violations.txt
  20
+	./runtests.py --with-coverage
  21
+	flake8 oscar | perl -ple "s/: /: [E] /" | grep -v migrations > violations.txt
23 22
 
24 23
 test:
25 24
 	./runtests.py
1  requirements.txt
@@ -21,3 +21,4 @@ django-rosetta==0.6.8
21 21
 Whoosh==2.4.1
22 22
 WebTest==1.3.4
23 23
 django-webtest==1.5.3
  24
+pyflakes==0.5.0

0 notes on commit c97d6f5

Please sign in to comment.
Something went wrong with that request. Please try again.