Initial
Some checks failed
Build and Publish Docker Image / build (push) Failing after 17s

This commit is contained in:
2024-11-11 10:26:47 +13:00
commit 6c6c837301
10 changed files with 561 additions and 0 deletions

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

@@ -0,0 +1,25 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-toml
- id: check-json
- id: check-merge-conflict
- id: debug-statements
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.3
hooks:
- id: ruff
args: [--fix]
- id: ruff-format
- repo: local
hooks:
- id: tests
name: run tests
require_serial: true
entry: pytest -v tests
language: system
types: [python]
stages: [pre-push]