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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file cheetah_lint-1.4.0.tar.gz.

File metadata

  • Download URL: cheetah_lint-1.4.0.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for cheetah_lint-1.4.0.tar.gz
Algorithm Hash digest
SHA256 c4bcb8f2dcf8deb2241ec8afacf19c25be0d1eefc2191417785a3848f5ae6d19
MD5 9f2bc231962a705ce635b6daa6ffd269
BLAKE2b-256 2cf4f35a45a8183669ed7b33b46a62f9a563febd66f54f6a60ce30337648ac98

See more details on using hashes here.

File details

Details for the file cheetah_lint-1.4.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for cheetah_lint-1.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 dee9bd6b944e79a7d6008d01cd2d56ba9b06a45d35728125dbeef6457d65b24b
MD5 11b3964622a662f028b0ad418508c2e2
BLAKE2b-256 a3f46f09e452ee95ad8cc9c5b1432e2c89827ac1036340b1c5f7fca1ea5c6523

See more details on using hashes here.

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