cheetah-lint


Namecheetah-lint JSON
Version 1.4.0 PyPI version JSON
download
home_pagehttps://github.com/asottile/cheetah_lint
SummaryLinting tools for the Cheetah templating language.
upload_time2023-07-01 18:53:43
maintainer
docs_urlNone
authorAnthony Sottile
requires_python>=3.8
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![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.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/asottile/cheetah_lint",
    "name": "cheetah-lint",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "",
    "author": "Anthony Sottile",
    "author_email": "asottile@umich.edu",
    "download_url": "https://files.pythonhosted.org/packages/2c/f4/f35a45a8183669ed7b33b46a62f9a563febd66f54f6a60ce30337648ac98/cheetah_lint-1.4.0.tar.gz",
    "platform": null,
    "description": "[![build status](https://github.com/asottile/cheetah_lint/actions/workflows/main.yml/badge.svg)](https://github.com/asottile/cheetah_lint/actions/workflows/main.yml)\n[![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)\n\ncheetah_lint\n============\n\nLinting tools for the [yelp_cheetah](https://github.com/Yelp/yelp_cheetah) templating language.\n\n\n## Installation\n\n```bash\npip install cheetah-lint\n```\n\n\n## Console scripts\n\n```console\n$ cheetah-reorder-imports --help\nusage: cheetah-reorder-imports [-h] [filenames [filenames ...]]\n\npositional arguments:\n  filenames\n\noptional arguments:\n  -h, --help  show this help message and exit\n```\n\n```console\n$ cheetah-flake --help\nusage: cheetah-flake [-h] [filenames [filenames ...]]\n\npositional arguments:\n  filenames   Filenames to flake.\n\noptional arguments:\n  -h, --help  show this help message and exit\n```\n\n## As a pre-commit hook\n\nSee [pre-commit](https://github.com/pre-commit/pre-commit) for instructions\n\nHooks available:\n- `cheetah-reorder-imports` - This hook reorders imports in cheetah files.\n- `cheetah-flake` - Lint cheetah code using flake8 and some other checks.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Linting tools for the Cheetah templating language.",
    "version": "1.4.0",
    "project_urls": {
        "Homepage": "https://github.com/asottile/cheetah_lint"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a3f46f09e452ee95ad8cc9c5b1432e2c89827ac1036340b1c5f7fca1ea5c6523",
                "md5": "11b3964622a662f028b0ad418508c2e2",
                "sha256": "dee9bd6b944e79a7d6008d01cd2d56ba9b06a45d35728125dbeef6457d65b24b"
            },
            "downloads": -1,
            "filename": "cheetah_lint-1.4.0-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "11b3964622a662f028b0ad418508c2e2",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.8",
            "size": 10191,
            "upload_time": "2023-07-01T18:53:41",
            "upload_time_iso_8601": "2023-07-01T18:53:41.983256Z",
            "url": "https://files.pythonhosted.org/packages/a3/f4/6f09e452ee95ad8cc9c5b1432e2c89827ac1036340b1c5f7fca1ea5c6523/cheetah_lint-1.4.0-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2cf4f35a45a8183669ed7b33b46a62f9a563febd66f54f6a60ce30337648ac98",
                "md5": "9f2bc231962a705ce635b6daa6ffd269",
                "sha256": "c4bcb8f2dcf8deb2241ec8afacf19c25be0d1eefc2191417785a3848f5ae6d19"
            },
            "downloads": -1,
            "filename": "cheetah_lint-1.4.0.tar.gz",
            "has_sig": false,
            "md5_digest": "9f2bc231962a705ce635b6daa6ffd269",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 9084,
            "upload_time": "2023-07-01T18:53:43",
            "upload_time_iso_8601": "2023-07-01T18:53:43.189747Z",
            "url": "https://files.pythonhosted.org/packages/2c/f4/f35a45a8183669ed7b33b46a62f9a563febd66f54f6a60ce30337648ac98/cheetah_lint-1.4.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-01 18:53:43",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "asottile",
    "github_project": "cheetah_lint",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "cheetah-lint"
}
        
Elapsed time: 0.12806s