flake8 install flake8 Install the dependencies and the package here how to play Run flake8: flake8 Check the meaning of the error here And then change your files to respect PEP8