pep8-ified scripts/basic.py

Change-Id: I4891ad9707671baad61ced71f6d7f7dc8dda13e1
pep8-ified blockpageschecker.py

Change-Id: I59561131c125722bd855079eafd161fbc5a21137
pep8-ified category.py

Change-Id: I3586d801f6c678ad7d8dcf9a8025a9ea1eb4c308