python PEP8 adaptions