Python wrapper around invoking hadolint (https://github.com/hadolint/hadolint)
Actively maintained. Last release 4 months ago, commits in 18 of the last 26 weeks. A safe choice.
pip install hadolint-coatlhadolint-coatl
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.15.1
hooks:
- id: hadolint