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-1.4.0.tar.gz
(9.1 kB
view hashes)
Built Distribution
Close
Hashes for cheetah_lint-1.4.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dee9bd6b944e79a7d6008d01cd2d56ba9b06a45d35728125dbeef6457d65b24b |
|
MD5 | 11b3964622a662f028b0ad418508c2e2 |
|
BLAKE2b-256 | a3f46f09e452ee95ad8cc9c5b1432e2c89827ac1036340b1c5f7fca1ea5c6523 |