21 Repos
Extensions for enforcing consistent formatting and clean code practices.
Explore 21 awesome GitHub repositories matching part of an awesome list · Code Style. Refine with filters or upvote what's useful.
flake8-comprehensions
Optimizes list, set, and dictionary comprehensions.
Prevent Exception Handling AntiPatterns in Python
Prevents common exception handling anti-patterns.
Flake8 Extension to lint for quotes.
Enforces consistent quote usage in strings.
Flake8 Extension to enforce better comma placement.
Enforces the use of trailing commas.
An extension for flake8 to report on wrong class attributes order and class level logic.
Enforces a specific order for class attributes.
Flake8 plugin that checks return values.
Validates return values and patterns.
An extension for flake8 that forbids some imports statements in some modules.
Restricts the use of specific forbidden imports.
flake8-strict
Enforces an opinionated set of style rules.
Good code reads like a newspaper. Start with the highest abstraction, go to the details. This also enables to read the code without an editor.
Enforces that functions are defined below their usage.
Picky Parentheses
Identifies redundant parentheses and alignment issues.
flake8 plugin to validate string literals.
Standardizes the styling of string literals.
flake8-multiline-containers
Ensures consistent formatting for multiline data structures.
Plugin for flake8 to warn the developer of the usage of datetime.utcnow().
Warns against using deprecated UTC time methods.
This is a flake8 plugin that enforces a blank line after if/for/while/with/try blocks in Python code.
Requires blank lines after control flow blocks.
This is a flake8 plugin enforces 8-space indentation in function/class definitions in Python code.
Enforces specific indentation for function and class definitions.
A flake8 plugin that prevents you from writing "too many" bad codes.
Prevents excessive complexity or bad patterns.
A flake8 plugin that helps you scream your code.
Provides rules for one-time code cleanup runs.
This is a plugin for the Python code-checking tool Flake8 to encourage correct string literal concatenation.
Encourages explicit string literal concatenation.
A plugin for flake8 to ban the usage of unsafe naive datetime class.
Bans the use of unsafe naive datetime objects.