semvec/pypi-packages huggingface dataset:
yastyleguide 0.2.0
Yet another styleguide.
License: MIT
Requires Python: >=3.9,<4.0
Keywords: flake8,flake8-plugin,linter,yastyleguide,styleguide,code quality,pycqa

# yastyleguide
Yet another styleguide


## Install

```bash
poetry add -D yastyleguide
```

```bash
pip install yastyleguide
```

## Nitpick styleguide

You can use base settings for linters with [nitpick](https://github.com/andreoliwa/nitpick):
```toml
[tool.nitpick]
style = "https://raw.githubusercontent.com/levkovalenko/yastyleguide-styles/master/nitpick-yastyle.toml"
```

## Running
It's just plugin **flake8**, so:
```bash
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](docs/eng/plugin_list.md)