yastyleguide
Yet another styleguide
Install
poetry add -D yastyleguide
pip install yastyleguide
Nitpick styleguide
You can use base settings for linters with nitpick:
[tool.nitpick]
style = "https://raw.githubusercontent.com/levkovalenko/yastyleguide-styles/master/nitpick-yastyle.toml"
Running
It's just plugin flake8, so:
flake8 .
Violations
Our own codes:
| Code | Description |
|---|---|
| YAS101 | Don't use any 'for' loops. |
| YAS102 | Don't use any 'while' loops. |
| YAS201 | Line is to complex, {0} > {1}. To many ast nodes per line. |
temporary disabled
|YAS202|To big median line complexity in module, {0} > {1}.|
|YAS203|To many lines per module, {0} > {1}.|
|YAS204|To many function definitions per module, {0} > {1}.|
|YAS205|To many class definitions per module, {0} > {1}.|
You can read about external plugins violations at /docs/eng/plugin_list.md
Metadata
Release files for yastyleguide 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| yastyleguide-0.2.0.tar.gz | 8.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| yastyleguide-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.6 kB
Release files / yastyleguide-0.2.0.tar.gz
| Download URL | yastyleguide-0.2.0.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1bed544b1b47caae865d5d0ff0bacafbf44349e14bef817892029352e248b1a
|
|
BLAKE2b-256 checksum How to use checksums |
a31796ef6412c66907696032b5aec3ac572bf91e3f3f9547c9367360e59017ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.0 CPython/3.8.16 Linux/5.4.109+
|
Release files / yastyleguide-0.2.0-py3-none-any.whl
| Download URL | yastyleguide-0.2.0-py3-none-any.whl |
|---|---|
| Size | 12.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e7da693e979ce87089801065f8e63b081a55e3e9fc944fa0df5e12cad67abf5c
|
|
BLAKE2b-256 checksum How to use checksums |
ab35ecfdf03e3c9abb0e2fca69b234ac3357bbc31387bc43fef8bd18461c191f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.0 CPython/3.8.16 Linux/5.4.109+
|