MAINT: Add a configuration for meson format
This commit is contained in:
parent
3f9ffecf86
commit
6ce99e3148
|
@ -0,0 +1,17 @@
|
|||
# See https://pre-commit.com for more information
|
||||
# See https://pre-commit.com/hooks.html for more hooks
|
||||
fail_fast: false
|
||||
exclude: |
|
||||
(?x)(
|
||||
benchmark # vendored
|
||||
)
|
||||
repos:
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: meson-format
|
||||
name: meson format
|
||||
entry: meson
|
||||
language: system
|
||||
types: [meson]
|
||||
files: \.build$
|
||||
args: ["format", "-i"]
|
Loading…
Reference in New Issue