From 3168e7813e8a788d13b245b10ff4593dc54d1279 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Tue, 12 Dec 2023 18:41:52 +0100 Subject: [PATCH] pre-commit: Enable Ruff and Ruff Black-style formatting --- .pre-commit-config.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..88c0c1e --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,9 @@ +# Copyright (c) 2023 Sebastian Pipping +# Licensed under the MIT license + +repos: + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.1.7 + hooks: + - id: ruff + - id: ruff-format