Change the repr format of bucket[-type]s
Fix PEP8 warnings
Fix pyflakes warnings in PB transport
Fix pyflakes error in client ops