From: Minep Date: Sun, 21 Jul 2024 20:30:14 +0000 (+0100) Subject: add pre-commit hooks to regulate things X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/commitdiff_plain/c4565f97ce186d1999082ae4c6d56c97c426fede add pre-commit hooks to regulate things --- diff --git a/lunaix-os/.pre-commit-config.yaml b/lunaix-os/.pre-commit-config.yaml new file mode 100644 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