Added pre-commit script with python PEP8