wemake-python-styleguide

Welcome to the strictest and most opinionated Python linter ever.
The best tool to teach your LLM how to write idiomatic and simple Python code!
wemake-python-styleguide is actually a flake8
plugin, the only one you will need as your ruff companion.
Fully compatible with ALL rules and format conventions from ruff.
Quickstart
pip install wemake-python-styleguide
You will also need to create a setup.cfg file with the configuration.
Try it online!
We highly recommend to also use:
- ondivi for easy integration into a legacy codebase
AI Features
wemake-python-styleguide works natively with AI tools,
it is great for improving agents' code quality.
Skills:
/wps to run better Python code that passes wemake-python-styleguide. Install in Claude Code: /plugin install wps --marketplace wemake-services/wemake-python-styleguide
MCPs:
- wps MCP helps with explaining violations and provides context on how to fix them
Additional contexts for LLMs:
See full AI docs.
Running
flake8 your_module.py --select=WPS
This app is still just good old flake8!
And it won't change your existing workflow.
See "Usage" section
in the docs for examples and integrations.
We also support GitHub Actions as first class-citizens.
Try it out!
Can (and should!) be used with ruff:
ruff check && ruff format
flake8 . --select=WPS
See example ruff configuration in our pyproject.toml.
Strict is the new cool