From 967be9e750221ab2ab783f95df79bb26d290a45e Mon Sep 17 00:00:00 2001 From: Martial Simon Date: Mon, 15 Sep 2025 01:07:58 +0200 Subject: add: added projects --- tiger-compiler/.pre-commit-config.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tiger-compiler/.pre-commit-config.yaml (limited to 'tiger-compiler/.pre-commit-config.yaml') diff --git a/tiger-compiler/.pre-commit-config.yaml b/tiger-compiler/.pre-commit-config.yaml new file mode 100644 index 0000000..e61f35a --- /dev/null +++ b/tiger-compiler/.pre-commit-config.yaml @@ -0,0 +1,17 @@ +repos: +- repo: local + hooks: + - id: clang-format + name: coding style + entry: clang-format --Werror --dry-run + language: system + files: \.(c|h)$ +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v2.3.0 + hooks: + - id: trailing-whitespace + exclude: ^tests/ +- repo: https://github.com/jumanjihouse/pre-commit-hooks + rev: 2.1.4 + hooks: + - id: forbid-binary -- cgit v1.2.3