lintified the python file