29 lines
640 B
YAML
29 lines
640 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/maxwinterstein/shfmt-py
|
|
rev: v3.11.0.2
|
|
hooks:
|
|
- id: shfmt
|
|
args: ["-w", "-i", "4", "-ci"]
|
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.11.4
|
|
hooks:
|
|
- id: ruff
|
|
args: [--fix]
|
|
exclude: '^testing/Baseline'
|
|
- id: ruff-format
|
|
exclude: '^testing/Baseline'
|
|
|
|
- repo: https://github.com/cheshirekow/cmake-format-precommit
|
|
rev: v0.6.13
|
|
hooks:
|
|
- id: cmake-format
|
|
|
|
- repo: https://github.com/crate-ci/typos
|
|
rev: v1.30.1
|
|
hooks:
|
|
- id: typos
|