Draft:Flake8

Source: Wikipedia, the free encyclopedia.

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; 10 months ago (2023-07-29)
Written inPython
LicenseMIT License
Websiteflake8.pycqa.org

Flake8 is a popular

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

  1. ^ "Flake8 homepage". flake8.pycqa.org. Retrieved 24 November 2023.
  2. ^ Ziade, Tarek, flake8: the modular source code checker: pep8 pyflakes and co, retrieved 28 November 2023
  3. ^ "flake8/README.rst at main · PyCQA/flake8". GitHub. Retrieved 28 November 2023.
  4. ^ "PEP 8 – Style Guide for Python Code | peps.python.org". peps.python.org. Retrieved 28 November 2023.
  5. ^ "Linting Python in Visual Studio Code". code.visualstudio.com. Retrieved 28 November 2023.
  6. ^ Ramel, David (9 July 2022). "Improved IntelliSense Support for Jupyter Notebooks in VS Code". Visual Studio Magazine. Retrieved 28 November 2023.
  7. ^ "Emacs setup for following coding guidelines — Astropy v6.1.dev129+g6b36e53c". docs.astropy.org. Retrieved 28 November 2023.
  8. ^ "vim-flake8 - vim-flake8 is a Vim plugin that runs the currently open file through Flake8. : vim online". www.vim.org. Retrieved 29 November 2023.

External links