cheetah-lint-1.3.1
توضیحات
Linting tools for the Cheetah templating language.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cheetah-lint-1.3.1 |
| نام | cheetah-lint |
| نسخه کتابخانه | 1.3.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Anthony Sottile |
| ایمیل نویسنده | asottile@umich.edu |
| آدرس صفحه اصلی | https://github.com/asottile/cheetah_lint |
| آدرس اینترنتی | https://pypi.org/project/cheetah-lint/ |
| مجوز | MIT |
[](https://dev.azure.com/asottile/asottile/_build/latest?definitionId=41&branchName=main)
[](https://dev.azure.com/asottile/asottile/_build/latest?definitionId=41&branchName=main)
[](https://results.pre-commit.ci/latest/github/asottile/cheetah_lint/main)
cheetah_lint
============
Linting tools for the [yelp_cheetah](https://github.com/Yelp/yelp_cheetah) templating language.
## Installation
`pip install cheetah-lint`
## Console scripts
```console
$ cheetah-reorder-imports --help
usage: cheetah-reorder-imports [-h] [filenames [filenames ...]]
positional arguments:
filenames
optional arguments:
-h, --help show this help message and exit
```
```console
$ cheetah-flake --help
usage: cheetah-flake [-h] [filenames [filenames ...]]
positional arguments:
filenames Filenames to flake.
optional arguments:
-h, --help show this help message and exit
```
## As a pre-commit hook
See [pre-commit](https://github.com/pre-commit/pre-commit) for instructions
Hooks available:
- `cheetah-reorder-imports` - This hook reorders imports in cheetah files.
- `cheetah-flake` - Lint cheetah code using flake8 and some other checks.
نیازمندی
| مقدار | نام |
|---|---|
| - | cached-property |
| - | classify-imports |
| >=3 | flake8 |
| <=0.15.999,>=0.15.0 | refactorlib[cheetah] |
| <=0.19.999,>=0.19.0 | yelp-cheetah |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl cheetah-lint-1.3.1:
pip install cheetah-lint-1.3.1.whl
نصب پکیج tar.gz cheetah-lint-1.3.1:
pip install cheetah-lint-1.3.1.tar.gz