format-code.sh: Add pycodestyle (pep8) check

Check pycodestyle (former pep8) and exit if there are any
errors.

Also move the checking of the formatting files to the
format-code.sh file.

Change-Id: Idca20d145e36a471634666aa39c968d3542886d8
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2 files changed