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.0.0.tar.gz
(8.8 kB
view hashes)
Built Distribution
Close
Hashes for cheetah_lint-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5201d40a8c6ab56c4566271473d7da2ba61ad312b45eaf0c7e51571c83c68875 |
|
MD5 | 2c15f215a97f6143f5a6b9d4682651b6 |
|
BLAKE2b-256 | 45cd5f45cfdfde9251dbffe3014b6cadd5d12d71c7898f6dcd319c55d407471f |