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.4.0.tar.gz
(8.6 kB
view hashes)
Built Distribution
Close
Hashes for cheetah_lint-0.4.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc2a65616dafc79504041f4e07dbdeda4b2c77b7bbae0fa31bbd57f2a162a9ce |
|
MD5 | 66914f5ef88c2b9ac9b7d590c96ba7b1 |
|
BLAKE2b-256 | 2481bbd61735bd3ade306d7e05020c01adbcb4da488b18cc641ee2607c8ecd17 |