Fix pep8 violations in shard_perf_test