chorny-1.6.1
توضیحات
Loader of Black to ensure Athenian's code formatting conventions.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | chorny-1.6.1 |
| نام | chorny |
| نسخه کتابخانه | 1.6.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Athenian |
| ایمیل نویسنده | vadim@athenian.co |
| آدرس صفحه اصلی | https://github.com/athenianco/chorny |
| آدرس اینترنتی | https://pypi.org/project/chorny/ |
| مجوز | MIT |
# chorny
Chorny (russian: чёрный) is a loader of [Black](https://github.com/psf/black) that patches code on the fly to change the formatting to satisfy Athenian's conventions.
So far, the only difference with the original rules is how magic trailing commas work. Chorny
prevents new line expansion by the magic trailing comma for parentheses unless the code is
a function signature. Example:
```python
async def foo(self, arg, other,):
pass
```
becomes
```python
async def foo(
self,
arg,
other,
):
pass
```
However,
```python
foo(
1, "one,
)
```
stays intact.
## Installation
```
pip install chorny
```
## Usage
`chorny` patches and launches `black` and should be used the same way.
## License
MIT, see [LICENSE](LICENSE).
نحوه نصب
نصب پکیج whl chorny-1.6.1:
pip install chorny-1.6.1.whl
نصب پکیج tar.gz chorny-1.6.1:
pip install chorny-1.6.1.tar.gz