Skip to content
This repository has been archived by the owner on Feb 4, 2024. It is now read-only.

Latest commit

 

History

History
53 lines (34 loc) · 1.31 KB

README.md

File metadata and controls

53 lines (34 loc) · 1.31 KB

ARCHIVED

cheetah / yelp-cheetah are long since dead and I don't plan on updating it further


build status pre-commit.ci status

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.