Metadata-Version: 2.1
Name: cheetah-lint
Version: 1.3.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
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: Implementation :: CPython
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: cached-property
Requires-Dist: classify-imports
Requires-Dist: flake8 (>=3)
Requires-Dist: refactorlib[cheetah] (<=0.15.999,>=0.15.0)
Requires-Dist: yelp-cheetah (<=0.19.999,>=0.19.0)

[![Build Status](https://dev.azure.com/asottile/asottile/_apis/build/status/asottile.cheetah_lint?branchName=main)](https://dev.azure.com/asottile/asottile/_build/latest?definitionId=41&branchName=main)
[![Azure DevOps coverage](https://img.shields.io/azure-devops/coverage/asottile/asottile/41/main.svg)](https://dev.azure.com/asottile/asottile/_build/latest?definitionId=41&branchName=main)
[![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

`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.


