33 lines
797 B
YAML
33 lines
797 B
YAML
# See https://pre-commit.com for more information
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
repos:
|
|
- repo: https://github.com/shellcheck-py/shellcheck-py
|
|
rev: v0.10.0.1
|
|
hooks:
|
|
- id: shellcheck
|
|
exclude: examples/|testing/tests/.*\.sh
|
|
|
|
- repo: https://github.com/maxwinterstein/shfmt-py
|
|
rev: v3.11.0.2
|
|
hooks:
|
|
- id: shfmt
|
|
exclude: examples/t6.sh
|
|
args: ["-w", "-i", "4", "-ci"]
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v5.0.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
exclude: ^testing/Baseline
|
|
- id: end-of-file-fixer
|
|
exclude: ^testing/Baseline|examples/.*Baseline.*
|
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.11.6
|
|
hooks:
|
|
- id: ruff
|
|
args: [--fix]
|
|
- id: ruff-format
|
|
|
|
exclude: examples/sphinx/conf.py
|