shellcheck-py

Python wrapper around invoking shellcheck (https://www.shellcheck.net/)


License
MIT
Install
pip install shellcheck-py==0.7.0.1

Documentation

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/ryanrhee/shellcheck-py
    rev: v0.7.1.1
    hooks:
    -   id: shellcheck