From 7a0a1db8f1d4046d6c3d077a9accf7f949a8aaa6 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sun, 28 May 2023 18:51:37 +0200 Subject: [PATCH] add precommit for black and ruff --- githooks/pre-commit | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 githooks/pre-commit diff --git a/githooks/pre-commit b/githooks/pre-commit new file mode 100755 index 0000000..7c181ef --- /dev/null +++ b/githooks/pre-commit @@ -0,0 +1,4 @@ +#!/bin/sh + +python3 -m black --check . +python3 -m ruff check .