blue-chip-0.0.9
توضیحات
One click Python code quality package
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | blue-chip-0.0.9 |
| نام | blue-chip |
| نسخه کتابخانه | 0.0.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Gabriel Gore |
| ایمیل نویسنده | gabriel59kg@gmail.com |
| آدرس صفحه اصلی | https://pypi.org/project/blue-chip/ |
| آدرس اینترنتی | https://pypi.org/project/blue-chip/ |
| مجوز | GPLv2 |
[](https://badge.fury.io/py/blue-chip)
[](https://travis-ci.com/Kilo59/blue-chip)
[](https://coveralls.io/github/Kilo59/blue-chip?branch=master)
[](https://lgtm.com/projects/g/Kilo59/blue-chip/context:python)
[](https://lgtm.com/projects/g/Kilo59/blue-chip/alerts/)
[](https://github.com/ambv/black)
# blue-chip
One click Python code quality package
`blue-chip` uses [`black`](https://github.com/ambv/black), [`isort`](https://github.com/timothycrosley/isort), [`invoke`](http://www.pyinvoke.org/) and [`prospector`](https://prospector.readthedocs.io/en/master/) configured to work well together out of the box.
-----------------------
## Install
The recommended installation method when installing globally is to use [`pipx`](https://github.com/pipxproject/pipx)
```
pipx install blue-chip
```
Otherwise (for best results) use `pip` to install directly into your project's virtual environment.
```
pip install blue-chip
```
Using [`poetry`](https://python-poetry.org/).
```
poetry add --dev blue-chip
```
Using [`pipenv`](https://pipenv.pypa.io/en/latest/) you need to pin the version.
```
pipenv install --dev blue-chip==0.0.8
```
## Command-line use
List the possible `blue-chip` commands with `bc --list`
```
$bc --list
Subcommands:
fmt Format python source code.
lint Run static analysis on python source code.
sort Sort module imports.
```
----------------------
## Enterprise use
Enterprise teams may find it useful to fork and redistribute this package with their own custom defined standards.
In many cases this is a simple as changing the package name and values in [`blue_chip/constants.py`](https://github.com/Kilo59/blue-chip/blob/master/blue_chip/constants.py).
For fine grain control of the static analysis tools, edit the `prospector` profiles in [`blue_chip/config`](https://github.com/Kilo59/blue-chip/blob/master/blue_chip/config/data.py).
نیازمندی
| مقدار | نام |
|---|---|
| - | invoke |
| >=5.10.1,<6.0.0 | isort |
| >=1.2,<2.0 | prospector[with_pyroma] |
| >=22.3.0,<23.0.0 | black |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6.2,<4.0.0 | Python |
نحوه نصب
نصب پکیج whl blue-chip-0.0.9:
pip install blue-chip-0.0.9.whl
نصب پکیج tar.gz blue-chip-0.0.9:
pip install blue-chip-0.0.9.tar.gz