init
Some checks failed
Create and publish a Docker image / build-and-push-image (push) Failing after 2m23s

This commit is contained in:
2025-05-09 13:28:52 +08:00
commit ea9fdddd18
14 changed files with 1323 additions and 0 deletions

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

@@ -0,0 +1,21 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.11.6
hooks:
# Run the linter.
- id: ruff
# Run the formatter.
- id: ruff-format
- repo: https://github.com/pycqa/isort
rev: 6.0.1
hooks:
- id: isort
name: isort (python)
- repo: https://github.com/astral-sh/uv-pre-commit
# uv version.
rev: 0.6.14
hooks:
- id: uv-lock
- id: uv-export
args: ["--no-dev", "--frozen", "--output-file=requirements.txt"]