flake8 is a python tool that glues together pycodestyle, pyflakes, mccabe, and third-party plugins to check the style and quality of some python code.
Why do you think that https://github.com/pre-commit/pre-commit-hooks is a good alternative to Flake8