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.1.0.tar.gz
(8.5 kB
view hashes)
Built Distribution
Close
Hashes for cheetah_lint-1.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a994e6fda23a547bd02919814ec5a58c54ecf8719a0c0c734425a6c2c45ce0aa |
|
MD5 | 9ae1bd0ec11aaa64b9bccccb02dab978 |
|
BLAKE2b-256 | 5d1bd477b74cebf48763b0ee42c0241c38f453d167d9062838e7a8a3755852ed |