Skip to content

:octocat: A curated awesome list of flake8 extensions. Feel free to contribute! 🎓

License

Notifications You must be signed in to change notification settings

marcgibbons/awesome-flake8-extensions

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Awesome Flake8 Extensions Awesome

A curated list of awesome flake8 extensions.

Inspired after reading a post.

Contents

All-in-one

Extensions with more than 20 rules inside.

Bugs

Extensions for finding possible bugs.

Clean code

Extensions for finding stylistic issues and enforcing consistent codestyle.

Limitations

Extensions banning specific Python features.

Naming

Extensions for checking names of variables, functions, etc.

Complexity

Extensions for ensuring low code complexity.

Comments

Extensions for checking comments.

  • flake8-author - Checks Python modules for __author__ attributes.
  • flake8-coding - Adds coding magic comment checks (coding:) to flake8.
  • flake8-comments - Reports redundant comments.
  • flake8-copyright - Adds copyright checks to flake8.
  • flake8-eradicate - Plugin to find commented out or dead code.
  • flake8-executable - Plugin for checking executable permissions and shebangs.
  • flake8-fixme - Check for FIXME, TODO and other temporary developer notes.
  • flake8-jira-todo-checker - Check that every TODO comment has a valid JIRA issue ID next to it.
  • flake8-noqa - Validate # noqa comments.
  • flake8-ownership - Checker for assuring that author, copyright, and license are specified in source files.
  • flake8-todo - Check for TODO notes.
  • flake8-todos - Lint TODO comments to be consistent and have an issue linked.
  • flake8-ado - Check that all Azure DevOps IDs mentioned in the comments are in the correct format and have the corresponding ADO item.

Docstrings

Extensions for checking docstrings.

Tools

Tools empowering flake8.

  • flake8-codes - CLI tool to introspect flake8 plugins and their codes.
  • flake8-pyprojecttoml - Adds support for reading flake8 config from pyproject.toml.
  • flake8-ruler - More powerful configs for flake8.
  • flakehell - Wrapper to make it nice, legacy-friendly, and configurable.
  • flakes - Web list of flake8 plugins and their codes, a wrapper around flake8-codes.
  • nitpick - Enforce the same lint configuration (flake8, isort, mypy, pylint) across multiple Python projects.
  • wps-playground - Online playground for wemake-python-styleguide.
  • yesqa - A tool to automatically remove unnecessary # noqa comments.

Imports

Extensions for checking import statements.

Testing

Extensions for testing.

Type annotations

Extensions for type annotations.

Library-specific checks

Extensions for linting usage of specific libraries.

Integrations

Extensions for running flake8 not only on Python files.

  • flake8-markdown - Lints Python code blocks in Markdown files using flake8.
  • flake8-pyi - Plugin for Flake8 that provides specializations for type hinting stub files.
  • flake8-rst - Checks on code in *.rst files or in docstrings.
  • jupyterlab-flake8 - Jupyterlab python linter for notebooks and text files using flake8.
  • flake8-nb - Runs flake8 on *.ipynb (jupyter notebook) files.

Wrappers

Wrappers around other tools making it possible to use them with flake8.

Formatters

Extensions for formatting flake8 output.

About

:octocat: A curated awesome list of flake8 extensions. Feel free to contribute! 🎓

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published