From 2d9e69af8bfd3e4bfcb73eed252dabbdb401e0d5 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Fri, 15 Dec 2023 10:14:01 +0100 Subject: [PATCH] Add `pre-commit` Signed-off-by: Christian Decker --- .pre-commit-hooks.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .pre-commit-hooks.yaml diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml new file mode 100644 index 000000000..a06ea06df --- /dev/null +++ b/.pre-commit-hooks.yaml @@ -0,0 +1,7 @@ +- id: pyspdxtools + name: pyspdxtools + entry: pyspdxtools + language: python + types: [json] + require_serial: true + args: [--infile]