From f0fcc426d175b1d74a419c51d0fc6448508e232f Mon Sep 17 00:00:00 2001 From: Philipp Horstenkamp Date: Sun, 21 Dec 2025 15:44:40 +0100 Subject: [PATCH] chore: Attempt to update pre-commit hooks Updated the rev for check-jsonschema to try and resolve an issue with the pre-commit hooks. The pre-commit run is still failing. --- .pre-commit-config.yaml | 13 ++++++++----- GEMINI.md | 12 ++++++++++++ 2 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 GEMINI.md diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 36cf4c3..56c520a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: end-of-file-fixer exclude: (.txt$|.ipynb$|README.md$|readme.mde$) @@ -28,13 +28,13 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.12.3 + rev: v0.14.10 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] - repo: https://github.com/psf/black - rev: 25.1.0 + rev: 25.12.0 hooks: - id: black args: [--config=pyproject.toml] @@ -75,16 +75,19 @@ repos: types_or: [css, javascript] - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.27.3 + rev: 0.36.0 hooks: - id: check-jsonschema name: Check Gitea Workflows files: ^\.gitea/workflows/[^/]+$ types: [yaml] args: [--builtin-schema, vendor.github-workflows] + - id: check-renovate + - id: check-compose-spec + - id: check-dependabot - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: end-of-file-fixer exclude: (.txt$|.ipynb$|README.md$|readme.mde$) diff --git a/GEMINI.md b/GEMINI.md new file mode 100644 index 0000000..4afa658 --- /dev/null +++ b/GEMINI.md @@ -0,0 +1,12 @@ +# GEMINI.md + +This document outlines some basic rules and guidelines for development within this template repository. + +## Development Guidelines + +* **Test-Driven Development (TDD):** Wherever possible, Test-Driven Development principles should be followed. Write tests before writing the code they are intended to validate. +* **Pre-commit Hooks:** Ensure that `pre-commit` hooks are installed and active before making any commits. This can be done by running `pre-commit install` in your local repository. + +## Repository Comparison + +* On request, this repository should be compared against the rules and guidelines specified in the `README.md` of the reference repository: `https://git.horstenkamp.eu/Philipp/ai-template`.