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.
pip install hadolint-coatl
After installation, the hadolint
binary should be available in your
environment (or hadolint.exe
on windows).
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