feat: Rewrote render tool in rust
This also came with a big rework of the configuration format that should make everything a bit less hacky to work with.
This commit is contained in:
+41
-8
@@ -1,22 +1,55 @@
|
||||
default_install_hook_types: [pre-commit, commit-msg]
|
||||
exclude: gotk-.*.yaml
|
||||
default_install_hook_types:
|
||||
- pre-commit
|
||||
- commit-msg
|
||||
|
||||
default_stages:
|
||||
- pre-commit
|
||||
|
||||
repos:
|
||||
- repo: meta
|
||||
hooks:
|
||||
- id: check-hooks-apply
|
||||
- id: check-useless-excludes
|
||||
|
||||
- repo: builtin
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
- id: check-yaml
|
||||
args:
|
||||
- --allow-multiple-documents
|
||||
- id: check-toml
|
||||
- id: check-added-large-files
|
||||
- id: check-merge-conflict
|
||||
- id: check-executables-have-shebangs
|
||||
|
||||
- repo: https://github.com/jmlrt/check-yamlschema
|
||||
rev: v0.0.7
|
||||
- repo: https://github.com/python-jsonschema/check-jsonschema
|
||||
rev: 0.37.1
|
||||
hooks:
|
||||
- id: check-yamlschema
|
||||
files: ^patches/.*\.yaml$
|
||||
- id: check-jsonschema
|
||||
files: ^talos/patches/.*\.y(a?)ml$
|
||||
args:
|
||||
[
|
||||
"--schemafile",
|
||||
"https://raw.githubusercontent.com/siderolabs/talos/refs/heads/release-1.11/website/content/v1.11/schemas/config.schema.json",
|
||||
]
|
||||
- id: check-jsonschema
|
||||
files: ^talos/nodes/.*\.y(a?)ml$
|
||||
args:
|
||||
[
|
||||
"--schemafile",
|
||||
"https://git.huizinga.dev/infra/crete/raw/branch/main/schemas/node.json",
|
||||
]
|
||||
- id: check-jsonschema
|
||||
files: ^talos/clusters/.*\.y(a?)ml$
|
||||
args:
|
||||
[
|
||||
"--schemafile",
|
||||
"https://git.huizinga.dev/infra/crete/raw/branch/main/schemas/cluster.json",
|
||||
]
|
||||
|
||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||
rev: v3.1.0
|
||||
hooks:
|
||||
- id: prettier
|
||||
|
||||
- repo: https://github.com/crate-ci/typos
|
||||
rev: v1.40.0
|
||||
|
||||
Reference in New Issue
Block a user