https://github.com/coatl-dev/hadolint-coatl
🐍 python3/pip3 wrapper for installing hadolint
https://github.com/coatl-dev/hadolint-coatl
dockerfile dockerfile-linter pre-commit-hook python3
Last synced: about 1 year ago
JSON representation
🐍 python3/pip3 wrapper for installing hadolint
- Host: GitHub
- URL: https://github.com/coatl-dev/hadolint-coatl
- Owner: coatl-dev
- License: mit
- Created: 2024-03-19T21:50:00.000Z (about 2 years ago)
- Default Branch: coatl
- Last Pushed: 2025-03-31T20:31:07.000Z (about 1 year ago)
- Last Synced: 2025-03-31T21:33:02.285Z (about 1 year ago)
- Topics: dockerfile, dockerfile-linter, pre-commit-hook, python3
- Language: Python
- Homepage: https://pypi.org/project/hadolint-coatl/
- Size: 58.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hadolint-coatl
[](https://pypi.org/project/hadolint-coatl)
[](https://pepy.tech/project/hadolint-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
```bash
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`:
```yaml
- repo: https://github.com/coatl-dev/hadolint-coatl
rev: 2.12.1b0
hooks:
- id: hadolint
```
[hadolint]: https://github.com/hadolint/hadolint
[pre-commit]: https://pre-commit.com
[shellcheck-py]: https://github.com/shellcheck-py/shellcheck-py