Skip to main content

Linting tools for the Cheetah templating language.

Project description

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.

Project details


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.4.0.tar.gz (9.1 kB view hashes)

Uploaded Source

Built Distribution

cheetah_lint-1.4.0-py2.py3-none-any.whl (10.2 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page