MANIT: PEP8ize most portions of tpy