1. Andriy Kornatskyy
  2. helloworld

Commits

Andriy Kornatskyy  committed 7a8ab03

Added pep8 checks for turbogears.

  • Participants
  • Parent commits 0c705dd
  • Branches default

Comments (0)

Files changed (2)

File .hgignore

View file
 04-pep8/jinja2
 04-pep8/pyramid
 04-pep8/tornado
+04-pep8/turbogears
 04-pep8/web2py
 04-pep8/webob
 04-pep8/webpy

File 04-pep8/Makefile

View file
 		else cd webpy && git pull ; fi
 	if [ ! -d web2py ]; then git clone git://github.com/web2py/web2py.git ; \
 		else cd web2py && git pull ; fi
+	if [ ! -d turbogears ]; then git clone git://github.com/TurboGears/tg2.git turbogears ; \
+		else cd turbogears && git pull ; fi
 
 	if [ ! -d flask ]; then git clone git://github.com/mitsuhiko/flask.git ; \
 		else cd flask && git pull ; fi
 pep8: env
 	echo "\nnumber of PEP8 errors or warnings:"
 	# save your time
-	if [ -f web2py/gluon/contrib/populate.py ]; then \
-		rm web2py/gluon/contrib/populate.py; \
-	fi
+	#if [ -f web2py/gluon/contrib/populate.py ]; then \
+	#	rm web2py/gluon/contrib/populate.py; \
+	#fi
 	for r in `ls -d ./*/ | cut -d / -f 2 | grep -v env | sort`; do \
 		echo -n "$$r => "; \
 		env/bin/pep8 --count -qq --ignore=E501,E231,W293,W291 $$r ; \