Project setup

This commit is contained in:
Craig
2025-04-29 10:19:22 +01:00
parent dd4583d737
commit 608c345ee3
5 changed files with 1852 additions and 0 deletions

26
.pre-commit-config.yaml Normal file
View File

@@ -0,0 +1,26 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.7
hooks:
# Run the linter.
- id: ruff
types_or: [ python, pyi ]
# Run the formatter.
- id: ruff-format
types_or: [ python, pyi ]
repos:
- repo: https://github.com/astral-sh/uv-pre-commit
# uv version.
rev: 0.6.17
hooks:
- id: uv-lock