Pep8 init and constraints

Pep8 init and constraints