Python wrapper around invoking hadolint (https://github.com/hadolint/hadolint)
Project description
hadolint-pre-commit
A pre-commit hook for hadolint that automatically downloads and installs the hadolint binary — no manual installation required.
Usage
Add the following to your .pre-commit-config.yaml:
repos:
- repo: https://github.com/shenxianpeng/hadolint-pre-commit
rev: v2.14.0.1
hooks:
- id: hadolint
Run pre-commit install and the hadolint binary will be downloaded and installed automatically.
How it works
This package ships the hadolint binary via PyPI using
setuptools-download.
When pip install hadolint-py is run (which pre-commit does automatically),
the appropriate pre-built binary for your platform is downloaded from the
official hadolint GitHub releases
and placed in your environment's bin/ directory (or Scripts/ on Windows).
Supported platforms:
| OS | Architecture |
|---|---|
| Linux | x86_64 |
| Linux | arm64 |
| macOS | x86_64 |
| macOS | arm64 |
| Windows | x86_64 |
Install as a standalone tool
pip install hadolint-py
hadolint --version
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hadolint_py-2.14.0.1.tar.gz.
File metadata
- Download URL: hadolint_py-2.14.0.1.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7a949dcfd1cda1e6ec6bf62c0f66f61519ed5f74da015d9592e62a1a76cfb91
|
|
| MD5 |
0e2244f3a204c0eb8804db1205130221
|
|
| BLAKE2b-256 |
8a3f13a80a4b3d9f602e7deda10e943d198caa2752f59773de59afbd2e7b9b11
|
Provenance
The following attestation bundles were made for hadolint_py-2.14.0.1.tar.gz:
Publisher:
publish.yml on shenxianpeng/hadolint-pre-commit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hadolint_py-2.14.0.1.tar.gz -
Subject digest:
a7a949dcfd1cda1e6ec6bf62c0f66f61519ed5f74da015d9592e62a1a76cfb91 - Sigstore transparency entry: 1139771443
- Sigstore integration time:
-
Permalink:
shenxianpeng/hadolint-pre-commit@92d73d76174db1f71afbeb1c0d6a8c295d9c0092 -
Branch / Tag:
refs/tags/v2.14.0.1 - Owner: https://github.com/shenxianpeng
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@92d73d76174db1f71afbeb1c0d6a8c295d9c0092 -
Trigger Event:
release
-
Statement type:
File details
Details for the file hadolint_py-2.14.0.1-py3-none-win_amd64.whl.
File metadata
- Download URL: hadolint_py-2.14.0.1-py3-none-win_amd64.whl
- Upload date:
- Size: 15.4 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
825e19deed50d2e42f50efb7e0d6c411b609e58e682afd1a8e6b2daeca109697
|
|
| MD5 |
af2591a26c18c48702e272c185e045c9
|
|
| BLAKE2b-256 |
6add98f578a78c3f8fd541c167ed7c33547c67883b3213dcf32584a5b7cea1d2
|
Provenance
The following attestation bundles were made for hadolint_py-2.14.0.1-py3-none-win_amd64.whl:
Publisher:
publish.yml on shenxianpeng/hadolint-pre-commit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hadolint_py-2.14.0.1-py3-none-win_amd64.whl -
Subject digest:
825e19deed50d2e42f50efb7e0d6c411b609e58e682afd1a8e6b2daeca109697 - Sigstore transparency entry: 1139771835
- Sigstore integration time:
-
Permalink:
shenxianpeng/hadolint-pre-commit@92d73d76174db1f71afbeb1c0d6a8c295d9c0092 -
Branch / Tag:
refs/tags/v2.14.0.1 - Owner: https://github.com/shenxianpeng
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@92d73d76174db1f71afbeb1c0d6a8c295d9c0092 -
Trigger Event:
release
-
Statement type:
File details
Details for the file hadolint_py-2.14.0.1-py3-none-manylinux_2_17_x86_64.whl.
File metadata
- Download URL: hadolint_py-2.14.0.1-py3-none-manylinux_2_17_x86_64.whl
- Upload date:
- Size: 11.9 MB
- Tags: Python 3, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f1dedb223c41f55b09bfcd5e2738175458dc0e1c119b3a48c52c3fcbced3bf1
|
|
| MD5 |
557b48dbfe2363b3d386048099810424
|
|
| BLAKE2b-256 |
b5ecc3ae74bd2f3d06a91fda0a907df269a2c7edbab78c62342378b09fece381
|
Provenance
The following attestation bundles were made for hadolint_py-2.14.0.1-py3-none-manylinux_2_17_x86_64.whl:
Publisher:
publish.yml on shenxianpeng/hadolint-pre-commit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hadolint_py-2.14.0.1-py3-none-manylinux_2_17_x86_64.whl -
Subject digest:
1f1dedb223c41f55b09bfcd5e2738175458dc0e1c119b3a48c52c3fcbced3bf1 - Sigstore transparency entry: 1139771562
- Sigstore integration time:
-
Permalink:
shenxianpeng/hadolint-pre-commit@92d73d76174db1f71afbeb1c0d6a8c295d9c0092 -
Branch / Tag:
refs/tags/v2.14.0.1 - Owner: https://github.com/shenxianpeng
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@92d73d76174db1f71afbeb1c0d6a8c295d9c0092 -
Trigger Event:
release
-
Statement type:
File details
Details for the file hadolint_py-2.14.0.1-py3-none-manylinux_2_17_aarch64.whl.
File metadata
- Download URL: hadolint_py-2.14.0.1-py3-none-manylinux_2_17_aarch64.whl
- Upload date:
- Size: 12.8 MB
- Tags: Python 3, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e8253b12b45280a90d2e0cb476c59bbc5db9eb293201f713d087ce1a4beff34
|
|
| MD5 |
1672916eee911c8f1fe7a89cf8f21566
|
|
| BLAKE2b-256 |
8bb9ea2d8bfda6d5f96dad91b640fccf18048b06e11599a5d7405fb853fe9d01
|
Provenance
The following attestation bundles were made for hadolint_py-2.14.0.1-py3-none-manylinux_2_17_aarch64.whl:
Publisher:
publish.yml on shenxianpeng/hadolint-pre-commit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hadolint_py-2.14.0.1-py3-none-manylinux_2_17_aarch64.whl -
Subject digest:
5e8253b12b45280a90d2e0cb476c59bbc5db9eb293201f713d087ce1a4beff34 - Sigstore transparency entry: 1139771762
- Sigstore integration time:
-
Permalink:
shenxianpeng/hadolint-pre-commit@92d73d76174db1f71afbeb1c0d6a8c295d9c0092 -
Branch / Tag:
refs/tags/v2.14.0.1 - Owner: https://github.com/shenxianpeng
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@92d73d76174db1f71afbeb1c0d6a8c295d9c0092 -
Trigger Event:
release
-
Statement type:
File details
Details for the file hadolint_py-2.14.0.1-py3-none-macosx_10_15_universal2.whl.
File metadata
- Download URL: hadolint_py-2.14.0.1-py3-none-macosx_10_15_universal2.whl
- Upload date:
- Size: 21.0 MB
- Tags: Python 3, macOS 10.15+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4beaa65cc53bf27fd5faf55267c4a644786184a36efdb7bfbc912af7807dd186
|
|
| MD5 |
238906cf6774d60d76f0de7567ec6131
|
|
| BLAKE2b-256 |
dac9168c934801c159d61ca0deccb2e24a53f9c389a06446b70149a8f55f69da
|
Provenance
The following attestation bundles were made for hadolint_py-2.14.0.1-py3-none-macosx_10_15_universal2.whl:
Publisher:
publish.yml on shenxianpeng/hadolint-pre-commit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hadolint_py-2.14.0.1-py3-none-macosx_10_15_universal2.whl -
Subject digest:
4beaa65cc53bf27fd5faf55267c4a644786184a36efdb7bfbc912af7807dd186 - Sigstore transparency entry: 1139771665
- Sigstore integration time:
-
Permalink:
shenxianpeng/hadolint-pre-commit@92d73d76174db1f71afbeb1c0d6a8c295d9c0092 -
Branch / Tag:
refs/tags/v2.14.0.1 - Owner: https://github.com/shenxianpeng
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@92d73d76174db1f71afbeb1c0d6a8c295d9c0092 -
Trigger Event:
release
-
Statement type: