PEP8 fixes to aux_factory.py