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

PyPI - Version 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.0.3
    hooks:
      - id: hadolint