check all python files in directory if check was not run from python file