The most opinionated linter ever, used by wemake.services
Project description
wemake-python-styleguide
Welcome to the most opinionated linter ever.
The main goal of this tool is to make our python
code
consistent and to fight the code complexity.
wemake-python-styleguide
is actually flake8
plugin
with some other plugins as dependencies.
The Zen of Python, by Tim Peters
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!
Installation
pip install wemake-python-styleguide
Project status
We are almost ready for our first public release. Until, use it on your own risk.
What we are not
We are here not to:
- Assume or check types, use
mypy
instead - Reformat code, since we believe that developers should do that
- Check for
SyntaxError
s or exceptions, write tests instead - Suite everyone, this is our linter
Contributing
See CONTRIBUTING.md file if you want to contribute. You can also check which issues need some help right now.
License
MIT. See LICENSE for more details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file wemake-python-styleguide-0.0.14.tar.gz
.
File metadata
- Download URL: wemake-python-styleguide-0.0.14.tar.gz
- Upload date:
- Size: 29.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.11.2 CPython/3.6.5 Darwin/15.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eff5c29485c3ce5f0388264721d14dcfde7d2284ac2e2e54bce2847f229fea75 |
|
MD5 | 20da19a8eef626d991c625931b8dcb33 |
|
BLAKE2b-256 | 78e03859ca52709a00d0bc0d7debf34c0ed52dfde79213dad9f21c8beefb4afc |
File details
Details for the file wemake_python_styleguide-0.0.14-py3-none-any.whl
.
File metadata
- Download URL: wemake_python_styleguide-0.0.14-py3-none-any.whl
- Upload date:
- Size: 112.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.11.2 CPython/3.6.5 Darwin/15.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db7d105855725589cb528de4dc440c6dc21c3c5784bfb8c80555234163897e6c |
|
MD5 | c163c2ca657763afbc11d12f00e5abab |
|
BLAKE2b-256 | 6385be8a7834fffb9d323dfaf9a297c6ea6db16c9cb03ae82bba8950a1fa5fa7 |