mirror of
https://github.com/shellcheck-py/shellcheck-py.git
synced 2025-10-14 02:06:44 +08:00
python3/pip3 wrapper for installing shellcheck
|
||
---|---|---|
.github/workflows | ||
.gitignore | ||
.pre-commit-config.yaml | ||
.pre-commit-hooks.yaml | ||
LICENSE | ||
README.md | ||
setup.cfg | ||
setup.py | ||
tox.ini |
shellcheck-py
A python wrapper to provide a pip-installable shellcheck binary.
Internally this package provides a convenient way to download the pre-built shellcheck binary for your particular platform.
installation
pip install shellcheck-py
usage
After installation, the shellcheck
binary should be available in your
environment (or shellcheck.exe
on windows).
As a pre-commit hook
See pre-commit for instructions
Sample .pre-commit-config.yaml
:
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.11.0.1
hooks:
- id: shellcheck