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

orsinium-forks/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.

Clean code

Small extensions for finding possible bugs and stylistic issues.

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.

Docstrings

Extensions for checking docstrings.

Tools

Tools empowering flake8.

  • flake8-codes - CLI tool to introspect flake8 plugins and their codes.
  • flake8-dashboard - Plugin to generate an HTML dashboard with reporting the flake8 violations found.
  • flake8-ruler - More powerful configs for flake8.
  • flakehell - Wrapper to make it nice, legacy-friendly, and configurable.
  • nitpick - Enforce the same lint configuration (flake8, isort, mypy, pylint) across multiple Python projects.
  • 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.

  • flake8-django - Plugin for Django projects.
  • flake8-fastapi - Checks FastAPI code against opinionated style rules.
  • flake8-pytest-style - Plugin checking common style issues or inconsistencies with pytest-based tests.
  • flake8-scrapy - Plugin to catch common issues on Scrapy spiders.
  • pandas-vet - Plugin that provides opinionated linting for pandas code.

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.

Wrappers

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

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