From f3b2de2ed5ccd6b54529b6ea8eeb65b6ddc851ac Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Mon, 2 Oct 2023 07:33:59 +0200 Subject: [PATCH] build: add pre-commit config --- .pre-commit-config.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 995333c7..6d69f69a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,4 +7,8 @@ repos: args: ["-style=file", "-i"] language: system files: \.[ch](pp)?$ - + - id: imports + name: imports + entry: tools/sort_imports + language: system + files: \.[ch](pp)?$