Metadata-Version: 2.1
Name: yastyleguide
Version: 0.2.0
Summary: Yet another styleguide.
Home-page: https://github.com/levkovalenko/yastyleguide
License: MIT
Keywords: flake8,flake8-plugin,linter,yastyleguide,styleguide,code quality,pycqa
Author: levkovalenko
Author-email: levozavr@mail.ru
Requires-Python: >=3.9,<4.0
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Framework :: Flake8
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Quality Assurance
Requires-Dist: black (>=23.1.0,<24.0.0)
Requires-Dist: flake8 (>=6.0.0,<7.0.0)
Requires-Dist: flake8-annotations (>=3.0.0,<4.0.0)
Requires-Dist: flake8-annotations-complexity (>=0.0.7,<0.0.8)
Requires-Dist: flake8-async (>=22.11.14,<23.0.0)
Requires-Dist: flake8-black (>=0.3.6,<0.4.0)
Requires-Dist: flake8-builtins (>=2.1.0,<3.0.0)
Requires-Dist: flake8-cognitive-complexity (>=0.1.0,<0.2.0)
Requires-Dist: flake8-comprehensions (>=3.10.1,<4.0.0)
Requires-Dist: flake8-docstrings (>=1.7.0,<2.0.0)
Requires-Dist: flake8-expression-complexity (>=0.0.11,<0.0.12)
Requires-Dist: flake8-functions (>=0.0.7,<0.0.8)
Requires-Dist: flake8-isort (>=6.0.0,<7.0.0)
Requires-Dist: flake8-noqa (>=1.3.1,<2.0.0)
Requires-Dist: flake8-pep585 (>=0.1.7,<0.2.0)
Requires-Dist: flake8-print (>=5.0.0,<6.0.0)
Requires-Dist: flake8-pyproject (>=1.2.2,<2.0.0)
Requires-Dist: flake8-requirements (>=1.7.7,<2.0.0)
Requires-Dist: flake8-spellcheck (>=0.28.0,<0.29.0)
Requires-Dist: flake8-string-format (>=0.3.0,<0.4.0)
Requires-Dist: isort (>=5.12.0,<6.0.0)
Requires-Dist: nitpick (>=0.32.0,<0.33.0)
Requires-Dist: pep8-naming (>=0.13.3,<0.14.0)
Requires-Dist: pre-commit (>=3.1.1,<4.0.0)
Requires-Dist: requests-cache (==0.9.8)
Project-URL: Repository, https://github.com/levkovalenko/yastyleguide
Description-Content-Type: text/markdown

# 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)

