Linting tools for the Cheetah templating language.
Project description
cheetah_lint
Linting tools for the yelp_cheetah templating language.
Installation
pip install cheetah-lint
Console scripts
cheetah-reorder-imports --help
usage: cheetah-reorder-imports [-h] [filenames [filenames ...]]
positional arguments:
filenames
optional arguments:
-h, --help show this help message and exit
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 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cheetah_lint-0.5.0.tar.gz
(8.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cheetah_lint-0.5.0.tar.gz.
File metadata
- Download URL: cheetah_lint-0.5.0.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
088c6fd800dc92f20b9aa1c07bc1c29a819b198497a04ef846ba67878fbc68e6
|
|
| MD5 |
380f1535adeca35e8549535f7be72f30
|
|
| BLAKE2b-256 |
f41543553a4bb16f946228d9d9d2e680e5d2ca6b41aa7b15fa88297816ec0c58
|
File details
Details for the file cheetah_lint-0.5.0-py2.py3-none-any.whl.
File metadata
- Download URL: cheetah_lint-0.5.0-py2.py3-none-any.whl
- Upload date:
- Size: 10.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e5d3b8428207d72a326f1a4ba325a847cc1412cff8b0da8c7e7bbec9d288c84
|
|
| MD5 |
789d1203179fa1b68c2826ecb3eefd6d
|
|
| BLAKE2b-256 |
55084169687f005d8a51ec29595795631cfa744e39548d8f0e169b85b2437200
|