Software:Flake8

From HandWiki
Flake8
Developer(s)Tarek Ziadé (initial author), Anthony Sottile, Ian Cordasco.[1]
Initial release2010; 14 years ago (2010)
Stable release
6.1.0 / July 29, 2023; 11 months ago (2023-07-29)
Written inPython
LicenseMIT License
Websiteflake8.pycqa.org

Flake8 is a popular [2] command-line utility for enforcing style consistency across code in the Python programming language. It is a tool that combines various tools for checking the style and quality of Python code, including PyFlakes, pycodestyle (formerly known as Pep8), and Ned Batchelder's McCabe script. The name 'Flake8' is derived from a combination of 'pyflakes' and 'pep8', the names of the tools it integrates[3]

It enforces the style recommended by PEP 8, the Python style guide[4]

It can be used as an application but can also be integrated in vscode[5], IntelliSense [6], emacs[7], vim [8] and others editors.

See also

  • Pylint - another Python linter
  • Ruff, a Python static code analysis tool written in Rust, proposes itself as a seamless alternative to Flake8.

References

External links