aboutsummaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorLoek Le Blansch <loek.le-blansch.pv@renesas.com>2025-10-24 12:54:01 +0200
committerLoek Le Blansch <loek.le-blansch.pv@renesas.com>2025-10-24 12:54:01 +0200
commitb819354e3d7b2181995ac11510da2226564eebfb (patch)
tree76cac0aca3df93b9d9aaad6f94abec65aac73a53 /.pre-commit-config.yaml
parenteb2a636e75fcc47aff26498e8751b403e985cebf (diff)
add pre-commit
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 0000000..40a64e2
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,13 @@
+repos:
+ - repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v6.0.0
+ hooks:
+ - id: end-of-file-fixer
+ - id: trailing-whitespace
+ - id: mixed-line-ending
+ args: [--fix=lf]
+ - repo: https://github.com/codespell-project/codespell
+ rev: v2.4.1
+ hooks:
+ - id: codespell
+ args: [--quiet-level=2]