From 639afe9b95dee84966f066c61bb2ff9814e8e178 Mon Sep 17 00:00:00 2001 From: WorldTeacher Date: Tue, 10 Feb 2026 12:40:31 +0100 Subject: [PATCH] add prek, tanuki --- .gitmodules | 3 +++ .pre-commit-config.yaml | 12 +++++++++--- docs/themes/tanuki | 1 + 3 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 .gitmodules create mode 160000 docs/themes/tanuki diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..c81cf88 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "docs/themes/tanuki"] + path = docs/themes/tanuki + url = https://github.com/raskell-io/tanuki diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a290858..14fdca4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,13 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.9 # latest ruff version + rev: v0.8.6 hooks: - - id: ruff - args: ["--fix"] + # Run the formatter - id: ruff-format + name: ruff format + types_or: [python, pyi, jupyter] + # Run the linter with auto-fix + - id: ruff + name: ruff check + args: [--fix] + types_or: [python, pyi, jupyter] diff --git a/docs/themes/tanuki b/docs/themes/tanuki new file mode 160000 index 0000000..f81db54 --- /dev/null +++ b/docs/themes/tanuki @@ -0,0 +1 @@ +Subproject commit f81db54c4edc8270c46375a5540d9c08d677aeac