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

Linting tools for the Cheetah templating language.

License

Notifications You must be signed in to change notification settings

asottile-archive/cheetah_lint

Repository files navigation

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.

About

Linting tools for the Cheetah templating language.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages