Metadata-Version: 2.1
Name: cheetah-lint
Version: 1.4.0
Summary: Linting tools for the Cheetah templating language.
Home-page: https://github.com/asottile/cheetah_lint
Author: Anthony Sottile
Author-email: asottile@umich.edu
License: MIT
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: Implementation :: CPython
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: classify-imports
Requires-Dist: flake8 (>=6)
Requires-Dist: refactorlib[cheetah] (<=0.15.999,>=0.15.0)
Requires-Dist: yelp-cheetah (<=0.19.999,>=0.19.0)

[![build status](https://github.com/asottile/cheetah_lint/actions/workflows/main.yml/badge.svg)](https://github.com/asottile/cheetah_lint/actions/workflows/main.yml)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/asottile/cheetah_lint/main.svg)](https://results.pre-commit.ci/latest/github/asottile/cheetah_lint/main)

cheetah_lint
============

Linting tools for the [yelp_cheetah](https://github.com/Yelp/yelp_cheetah) templating language.


## Installation

```bash
pip install cheetah-lint
```


## Console scripts

```console
$ cheetah-reorder-imports --help
usage: cheetah-reorder-imports [-h] [filenames [filenames ...]]

positional arguments:
  filenames

optional arguments:
  -h, --help  show this help message and exit
```

```console
$ 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](https://github.com/pre-commit/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.
