awesome-flake8-extensions

Code inspector

A curated list of plugins to enforce coding standards and detect issues in Python code.

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

GitHub

1k stars
27 watching
52 forks
last commit: over 2 years ago
Linked from 2 awesome lists

awesomeawesome-listcode-qualitycollectionsflake8flake8-extensionsflake8-pluginshacktoberfesthacktoberfest-acceptedpython

Awesome Flake8 Extensions / All-in-one

dlint163almost 2 years agoTool for encouraging best coding practices and helping ensure Python code is secure
flake8-bugbear1,066almost 2 years agoFinding likely bugs and design problems in your program
flake8-pie61over 3 years agoExtension that implements misc. lints
flake8-simplify187almost 3 years agoPlugin that helps you to simplify code
hacking240about 2 years agoSet of flake8 plugins that test and enforce the
wemake-python-styleguide2,574almost 2 years agoThe strictest and most opinionated python linter ever

Awesome Flake8 Extensions / Bugs

flake8-202063over 2 years agoPlugin which checks for misuse of or
flake8-alfred36over 3 years agoAlfred is a flake8 plugin to warn on unsafe/obsolete symbols
flake8-async11over 2 years agoA flake8 plugin that checks for bad async / asyncio practices
flake8-dunder-all7almost 2 years agoEnsures that modules have defined
flake8-encodings6almost 2 years agoIdentify incorrect use of encodings
flake8-mutable44about 6 years agoDetect usage of mutable objects as default values for arguments
flake8-qt-tr0almost 2 years agoDetect incorrectly wrapped Qt translation text
flake8-requirements37over 2 years agoPackage requirements checker
flake8-secure-coding-standard5almost 2 years agoEnforce some secure coding standards for Python
flake8-slots3almost 2 years agoRequire to be defined for subclasses of immutable types
flake8-strftime2almost 2 years agoChecks for use of platform-specific strftime codes
flake8-string-format20almost 4 years agoCheck that indexed parameters are used in strings
flake8-unused-arguments31over 3 years agoWarn against unused arguments in functions
flake8-useless-assert5over 3 years agoDetect useless statements
flake8-warnings12almost 3 years agoDetect usage of deprecated modules, classes, and functions

Awesome Flake8 Extensions / Clean code

flake8-all-not-strings0about 2 years agoChecks that if modules under are defined as strings
flake8-class-attributes-order59over 2 years agoChecks classes attributes order
flake8-clean-block4almost 4 years agoPlugin to enforce a blank line after if/for/while/with/try blocks
flake8-commas131over 2 years agoEnforcing trailing commas in python
flake8-comprehensions464almost 2 years agoHelps you write better list/set/dict comprehensions
flake8-datetime-utcnow-plugin2about 2 years agoPlugin to warn the developer of the usage of
flake8-datetimez34almost 4 years agoA plugin for flake8 to ban the usage of unsafe naive datetime class
flake8-implicit-str-concat31almost 2 years agoPlugin to encourage correct string literal concatenation
flake8-indent-in-def0almost 4 years agoPlugin to enforce 8-space indentation in function and class definitions
flake8-literal5over 2 years agoEnforces consistent styling of string literals
flake8-multiline-containers14almost 2 years agoPlugin to ensure a consistent format for multiline containers
flake8-newspaper-style12almost 4 years agoEnsures the function definition goes below its usage
flake8-obey-import-goat17over 3 years agoAllows to forbid specific imports
flake8-picky-parentheses6over 2 years agoChecks for redundant parentheses and alignment of parentheses and brackets
flake8-quotes177over 2 years agoExtension for checking quotes in python
flake8-return62over 2 years agoPlugin that checks return values
flake8-scream4almost 4 years agoRules which do have known false-positives but might still be useful for a one-time run
flake8-sql26over 4 years agoPlugin that checks SQL code against opinionated style rules
flake8-strict10over 8 years agoChecks Python code against a set of opinionated style rules
flake8-too-many4almost 2 years agoPlugin that prevents you from writing "too many" bad codes
tryceratops436almost 2 years agoPrevent exception handling antipatterns

Awesome Flake8 Extensions / Limitations

flake8-broken-line111almost 3 years agoReport line break with backslash ( )
flake8-debugger41over 4 years agoReport debug statements ( , )
flake8-forbidden-func8almost 4 years agoForbid some functions in some modules
flake8-logging79almost 2 years agoReports issues in using the standard library logging module
flake8-logging-format135about 2 years agoReport string formatting inside logging
flake8-match27over 2 years agoReport statement
flake8-no-implicit-concat20almost 2 years agoReport implicit string concatenation
flake8-no-pep42025almost 2 years agoReport implicit namespace packages
flake8-pep310114almost 3 years agoReport -formatting
flake8-print121about 3 years agoReport statement
flake8-printf-formatting11almost 5 years agoReport -formatting
flake8-use-fstring51almost 3 years agoReport -formatting and
flake8-use-pathlibReport
flake8-walrus45over 2 years agoReport walrus operator ( )

Awesome Flake8 Extensions / Naming

flake8-builtins116over 2 years agoCheck for python builtins being used as variables or parameters
flake8-functions-names27over 3 years agoValidate functions names, decomposition and conformity with annotations
flake8-test-name5over 2 years agoChecks that test functions names follow a given convention
flake8-variables-names55about 2 years agoExtension that helps to make more readable variables names
pep8-naming517over 2 years agoCheck the PEP-8 naming conventions

Awesome Flake8 Extensions / Complexity

cohesion237almost 2 years agoExtension for measuring Python class cohesion
flake8-annotations-complexity46over 3 years agoPlugin to validate annotations complexity
flake8-cognitive-complexity69over 5 years agoExtension for flake8 that validates cognitive functions complexity
flake8-expression-complexity32over 4 years agoPlugin to validate expressions complexity
flake8-functions50over 3 years agoPlugin for validation of function parameters (length, complexity, etc)
flake8-length24almost 4 years agoSmart line length validation

Awesome Flake8 Extensions / Comments

flake8-ado7almost 4 years agoCheck that all Azure DevOps IDs mentioned in the comments are in the correct format and have the corresponding ADO item
flake8-author3almost 2 years agoChecks Python modules for attributes
flake8-coding15over 7 years agoAdds coding magic comment checks (coding:) to flake8
flake8-comments9over 5 years agoReports redundant comments
flake8-copyright15about 3 years agoAdds copyright checks to flake8
flake8-eradicate311almost 2 years agoPlugin to find commented out or dead code
flake8-executable18almost 2 years agoPlugin for checking executable permissions and shebangs
flake8-fixme18over 3 years agoCheck for FIXME, TODO and other temporary developer notes
flake8-jira-todo-checker7about 2 years agoCheck that every TODO comment has a valid JIRA issue ID next to it
flake8-noqa41over 2 years agoValidate comments
flake8-ownership5about 7 years agoChecker for assuring that author, copyright, and license are specified in source files
flake8-todo30over 7 years agoCheck for TODO notes
flake8-todos27over 2 years agoLint TODO comments to be consistent and have an issue linked

Awesome Flake8 Extensions / Docstrings

flake8-docstring-checkerChecks if everything has a docstring
flake8-docstrings155almost 2 years agoInclude checks provided by pep257
flake8-docstrings-complete12almost 2 years agoLinter that checks docstrings of functions, methods and classes
flake8-rst-docstrings55almost 2 years agoValidate Python docstrings as reStructuredText (RST)
flake8-spellcheck72about 2 years agoSpellcheck variables, classnames, comments, docstrings etc
flake8-sphinx-links2almost 2 years agoCheck docstrings for double backticked strings which should be links to the Python documentation
pydoclint159almost 2 years agoA Python docstring linter that checks arguments, returns, yields, and raises sections

Awesome Flake8 Extensions / Tools

flake8-codes14over 4 years agoCLI tool to introspect flake8 plugins and their codes
flake8-pyproject229almost 3 years agoFlake8 plug-in loading the configuration from pyproject.toml
flake8-pyprojecttomlAdds support for reading flake8 config from pyproject.toml
flake8-ruler11over 4 years agoMore powerful configs for flake8
flakehell88over 4 years agoWrapper to make it nice, legacy-friendly, and configurable
flakesWeb list of flake8 plugins and their codes, a wrapper around flake8-codes
nitpick401almost 2 years agoEnforce the same lint configuration (flake8, isort, mypy, pylint) across multiple Python projects
wps-playground2about 4 years agoOnline playground for wemake-python-styleguide
yesqa264almost 2 years agoA tool to automatically remove unnecessary comments
flake8-in-file-ignores8almost 2 years agoAllow in file ignore e.g.

Awesome Flake8 Extensions / Imports

flake8-absolute-import12almost 3 years agoPlugin to require absolute imports
flake8-alphabetize16over 3 years agoChecking the order of statements and the list
flake8-datetime-import11almost 2 years agoEnforce importing and
flake8-future-import18almost 4 years agoExtension to check imports
flake8-import-conventions7almost 3 years agoHow certain packages should be imported or aliased
flake8-import-order-spoqa15about 8 years agoSpoqa's import order style for flake8-import-order
flake8-import-order277over 2 years agoInclude checks import order against various Python Style Guides
flake8-import-style3over 4 years agoPlugin to ensure explicit module imports
flake8-internal-name-import4about 3 years agoPlugin that reports imports of protected names
flake8-tidy-imports72almost 2 years agoExtension that helps you write tidier imports
flake8-type-checking115almost 2 years agoPlugin lets you know which imports to move in or out of type-checking blocks

Awesome Flake8 Extensions / Testing

flake8-aaa69over 2 years agoLints tests against the Arrange Act Assert pattern
flake8-assertive31almost 2 years agoUnittest assert method checker
flake8-mock17about 3 years agoProvides checking mock non-existent methods
flake8-mock-spec4almost 3 years agoEnforce the use of the spec argument on mocks ensuring that your use of mocks is compliant with the interface of the object being mocked
flake8-pytest-style229almost 2 years agoChecks for common style issues or inconsistencies with pytest-based tests
flake8-pytest12over 3 years agoEnforces to use -style assertions
flake8-pytestrail10over 4 years agoChecks TestRail test case IDs

Awesome Flake8 Extensions / Type annotations

flake8-annotations-coverage34over 4 years agoPlugin to validate annotations coverage
flake8-annotations156almost 2 years agoPlugin for flake8 to check for presence of type annotations in function definitions
flake8-future-annotations15almost 2 years agoVerifies Python 3.7+ files use
flake8-new-union-types13over 2 years agoPlugin to enforce new Union/Optional syntax defined in
flake8-pep58523over 3 years agoEnforce new style annotations from such as instead of
flake8-pep604Forbids use of (in favour of ), per
flake8-typing-imports48almost 2 years agoPlugin which checks that typing imports are properly guarded

Awesome Flake8 Extensions / Library-specific checks

flake8-django-migrations7almost 2 years agoPlugin to lint for backwards incompatible database migrations in Django
flake8-django180over 2 years agoPlugin for Django projects
flake8-fastapi44over 3 years agoChecks FastAPI code against opinionated style rules
flake8-numba0about 3 years agoPlugin that facilitates code development with package
flake8-scrapy19over 4 years agoPlugin to catch common issues on Scrapy spiders
pandas-vet168about 3 years agoPlugin that provides opinionated linting for pandas code
TorchFix111almost 2 years agoPlugin for code that uses PyTorch

Awesome Flake8 Extensions / Integrations

flake8-markdown23almost 2 years agoLints Python code blocks in Markdown files using flake8
flake8-nb28almost 2 years agoRuns flake8 on (jupyter notebook) files
flake8-pyi73almost 2 years agoPlugin for Flake8 that provides specializations for type hinting stub files
flake8-rst22over 5 years agoChecks on code in files or in docstrings
jupyterlab-flake8111about 5 years agoJupyterlab python linter for notebooks and text files using flake8

Awesome Flake8 Extensions / Wrappers

flake8-bandit110about 3 years agoWrapper around
flake8-black165almost 2 years agoWrapper around
flake8-isort176almost 3 years agoWrapper around
flake8-pylint8almost 3 years agoWrapper around

Awesome Flake8 Extensions / Formatters

flake8-dashboard14over 2 years agoGenerates an HTML dashboard
flake8-for-pycharmGenerates pylint-style JSON output
flake8-github5almost 2 years agoGenerates GitHub annotation for PR's
flake8-gl-codeclimate25almost 3 years agoGenerates GitLab Code Quality artifacts
flake8-html51almost 2 years agoGenerates an HTML report
flake8-json10almost 2 years agoGenerates JSON output

Backlinks from these awesome lists:

More related projects: