feat: Add GEMINI.md and enhance pre-commit hooks (#2)
All checks were successful
Lint / pre-commit Linting (push) Successful in 1m2s

Add GEMINI.md with development guidelines.
Enhance .pre-commit-config.yaml with schema validations for Renovate, Docker Compose, and Dependabot.

Reviewed-on: #2
This commit was merged in pull request #2.
This commit is contained in:
2025-12-21 17:11:29 +01:00
parent 59557f8596
commit 1606d8ac2b
2 changed files with 20 additions and 5 deletions

View File

@@ -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$)