Applied PEP8 formatting to bperm.py