git://scm.lunaixsky.com
/
lunaix-os.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ebb55b7
)
add pre-commit hooks to regulate things
author
Minep
<lunaixsky@qq.com>
Sun, 21 Jul 2024 20:30:14 +0000
(21:30 +0100)
committer
Minep
<lunaixsky@qq.com>
Sun, 21 Jul 2024 20:30:14 +0000
(21:30 +0100)
lunaix-os/.pre-commit-config.yaml
[new file with mode: 0644]
patch
|
blob
diff --git a/lunaix-os/.pre-commit-config.yaml
b/lunaix-os/.pre-commit-config.yaml
new file mode 100644
(file)
index 0000000..
c64ee57
--- /dev/null
+++ b/
lunaix-os/.pre-commit-config.yaml
@@ -0,0
+1,8
@@
+repos:
+- repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v4.6.0
+ hooks:
+ - id: check-merge-conflict
+ - id: check-added-large-files
+ - id: check-shebang-scripts-are-executable
+ - id: check-executables-have-shebangs