feat: Add GEMINI.md and enhance pre-commit hooks #2
@@ -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$)
|
||||
|
||||
12
GEMINI.md
Normal file
12
GEMINI.md
Normal file
@@ -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`.
|
||||
Reference in New Issue
Block a user