dlen-0.0.2
توضیحات
Dlen checks the length of the functions.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | dlen-0.0.2 |
| نام | dlen |
| نسخه کتابخانه | 0.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Endika Iglesias |
| ایمیل نویسنده | me@endikaiglesias.com |
| آدرس صفحه اصلی | https://github.com/Endika/dlen |
| آدرس اینترنتی | https://pypi.org/project/dlen/ |
| مجوز | MIT |
dlen
====
dlen for a world with less code.
Check the length of the method (maximum 20 lines) and
the class (maximum 500 lines). To keep your code clean and clear
you should always try to avoid having too many lines of code.
Also recommended to use pep8, isort, pydocstyle pack.
Getting Started
===============
Supports Python 2.7+
Installing
==========
```
git clone git@github.com:Endika/dlen.git
cd dlen
python setup.py install
```
Or
```
pip install dlen
```
Using dlen
==========
```
dlen my_script.py
```
Output
```
[ERROR] 'my_script.py' big_function function too long (25 > 20 lines)
[WARN] 'my_script.py' my_function function too long (13 > 12 lines)
```
Or
```
dlen .
dlen /path/project
```
Authors
=======
* **Endika Iglesias** - https://github.com/Endika
نحوه نصب
نصب پکیج whl dlen-0.0.2:
pip install dlen-0.0.2.whl
نصب پکیج tar.gz dlen-0.0.2:
pip install dlen-0.0.2.tar.gz