CLN PEP8 on format.py
Add PEP8 test in format.py