Commits

Andriy Kornatskyy committed ae9b798

Check pep8 return code if no errors found.

  • Participants
  • Parent commits 53603b9

Comments (0)

Files changed (1)

File 04-pep8/Makefile

 	#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 ; \
+		env/bin/pep8 --count -qq --ignore=E501,E231,W293,W291 $$r; \
+		if [ $$? = "0" ]; then echo 0; fi \
 	done ; \
 	exit 0