feat: Add precommit and uv
All checks were successful
Tests and Linting / Tests-Linting (3.11) (push) Successful in 2m32s
Build Docker / Build Images (map[dockerfile:Dockerfile tag_suffix: target:default]) (push) Successful in 2m49s
Tests and Linting / Tests-Linting (3.13) (push) Successful in 38s
Tests and Linting / Tests-Linting (3.10) (push) Successful in 3m53s
Build Docker / Build Images (map[dockerfile:Dockerfile.hsd tag_suffix:-hsd target:hsd]) (push) Successful in 5m41s
All checks were successful
Tests and Linting / Tests-Linting (3.11) (push) Successful in 2m32s
Build Docker / Build Images (map[dockerfile:Dockerfile tag_suffix: target:default]) (push) Successful in 2m49s
Tests and Linting / Tests-Linting (3.13) (push) Successful in 38s
Tests and Linting / Tests-Linting (3.10) (push) Successful in 3m53s
Build Docker / Build Images (map[dockerfile:Dockerfile.hsd tag_suffix:-hsd target:hsd]) (push) Successful in 5m41s
This commit is contained in:
16
.pre-commit-config.yaml
Normal file
16
.pre-commit-config.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
repos:
|
||||
- repo: https://github.com/astral-sh/uv-pre-commit
|
||||
# uv version.
|
||||
rev: 0.9.8
|
||||
hooks:
|
||||
- id: uv-lock
|
||||
- id: uv-export
|
||||
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
# Ruff version.
|
||||
rev: v0.14.4
|
||||
hooks:
|
||||
# Run the linter.
|
||||
- id: ruff-check
|
||||
# Run the formatter.
|
||||
- id: ruff-format
|
||||
Reference in New Issue
Block a user