Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aleksac/tflint-py
pip installable tflint binary with wrapper for pre-commit
https://github.com/aleksac/tflint-py
pre-commit pre-commit-hook terraform tflint
Last synced: 5 days ago
JSON representation
pip installable tflint binary with wrapper for pre-commit
- Host: GitHub
- URL: https://github.com/aleksac/tflint-py
- Owner: AleksaC
- License: mit
- Created: 2022-06-13T20:26:13.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-18T12:06:20.000Z (3 months ago)
- Last Synced: 2024-08-18T13:26:35.351Z (3 months ago)
- Topics: pre-commit, pre-commit-hook, terraform, tflint
- Language: Python
- Homepage:
- Size: 89.8 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tflint-py
[![Add new versions](https://github.com/AleksaC/tflint-py/actions/workflows/add-new-versions.yml/badge.svg)](https://github.com/AleksaC/tflint-py/actions/workflows/add-new-versions.yml)
[![Run tests](https://github.com/AleksaC/tflint-py/actions/workflows/tests.yml/badge.svg)](https://github.com/AleksaC/tflint-py/actions/workflows/tests.yml)pip installable [tflint](https://github.com/terraform-linters/tflint) binary with wrapper for pre-commit.
The mechanism by which the tflint binary is downloaded is adapted from
[shellcheck-py](https://github.com/shellcheck-py/shellcheck-py).## Getting started
### Installation
This package was built to make it more convenient to run tflint as a pre-commit
hook, so it hasn't been published to PyPI. However you can install it using git:```shell script
pip install git+https://github.com/AleksaC/[email protected]
```### pre-commit hook
To use the pre-commit hook include the following config in your `.pre-commit-config.yaml` file:
```yaml
repos:
- repo: https://github.com/AleksaC/tflint-py
rev: v0.53.0
hooks:
- id: tflint
```## Contact 🙋♂️
- [Personal website](https://aleksac.me)
-
- [email protected]