Skip to content

pip installable tflint binary with wrapper for pre-commit

License

Notifications You must be signed in to change notification settings

AleksaC/tflint-py

Repository files navigation

tflint-py

Add new versions Run tests

pip installable tflint binary with wrapper for pre-commit.

The mechanism by which the tflint binary is downloaded is adapted from 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:

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:

repos:
  - repo: https://github.com/AleksaC/tflint-py
    rev: v0.51.1
    hooks:
      - id: tflint

Contact 🙋‍♂️