Python wrapper around invoking shellcheck (https://www.shellcheck.net/)
Maintained. Last release 16 months ago, commits in 7 of the last 26 weeks. Weaker on recent releases and release cadence.
pip install shellcheck-pyshellcheck-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