pep8-ified scripts/noreferences.py

Change-Id: Ia3c38a54f5d26c834eb8d73915509c11da726cf8
Merge "pep8-ified scripts/noreferences.py"