Metadata-Version: 2.1
Name: cheetah-lint
Version: 0.5.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 :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: CPython
Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
Description-Content-Type: text/markdown
Requires-Dist: aspy.refactor-imports (>=0.2.1)
Requires-Dist: cached-property
Requires-Dist: flake8 (>=3)
Requires-Dist: refactorlib[cheetah] (<=0.14.999,>=0.14.0)
Requires-Dist: yelp-cheetah (<=0.18.999,>=0.18.0)

[![Build Status](https://travis-ci.org/asottile/cheetah_lint.svg?branch=master)](https://travis-ci.org/asottile/cheetah_lint)
[![Coverage Status](https://img.shields.io/coveralls/asottile/cheetah_lint.svg?branch=master)](https://coveralls.io/r/asottile/cheetah_lint)

cheetah_lint
==========

Linting tools for the [yelp_cheetah](https://github.com/Yelp/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](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.


