From 1efd518e9fda24979293ee06a3c55a830d05de47 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Sat, 21 Mar 2026 14:21:34 +0000 Subject: [PATCH] add pre-commit config --- .pre-commit-config.yaml | 12 ++++++++++++ 1 file changed, 12 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..cef5808 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,12 @@ +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v2.3.0 + hooks: + - id: check-yaml + - id: end-of-file-fixer + - id: trailing-whitespace + + - repo: https://github.com/pdm-project/pdm + rev: 2.26.6 + hooks: + - id: pdm-lock-check