Skip to content

🐍 python3/pip3 wrapper for installing hadolint

License

Notifications You must be signed in to change notification settings

coatl-dev/hadolint-coatl

Repository files navigation

hadolint-coatl

GitHub Release Downloads

A python wrapper to provide a pip-installable hadolint binary. Inspired by shellcheck-py.

Internally this package provides a convenient way to download the pre-built hadolint binary for your particular platform.

Installation

pip install hadolint-coatl

Usage

After installation, the hadolint binary should be available in your environment (or hadolint.exe on windows).

As a pre-commit hook

See pre-commit for instructions

Sample .pre-commit-config.yaml:

  - repo: https://github.com/coatl-dev/hadolint-coatl
    rev: 2.12.1b0
    hooks:
      - id: hadolint