3 Commits

Author SHA1 Message Date
e028d078d8 fix: replace astral-sh/setup-uv action with shell install
All checks were successful
CI / Lint (push) Successful in 1m33s
CI / Test (push) Successful in 1m36s
CI / Release (push) Successful in 5s
CI / Notify (push) Successful in 1s
The JS-based GitHub Action doesn't work on Gitea's act runner.
Use curl installer + GITHUB_PATH instead.
2026-02-13 19:40:54 -05:00
8fb683d63e chore: add Renovate config for automated dependency updates
All checks were successful
CI / Lint (push) Successful in 1m35s
CI / Test (push) Successful in 1m37s
CI / Notify (push) Successful in 1s
CI / Release (push) Successful in 5s
Ref: ADR-0057
2026-02-13 15:33:49 -05:00
4048870392 chore: add pre-commit config with ruff hooks
All checks were successful
CI / Lint (push) Successful in 2m30s
CI / Test (push) Successful in 2m59s
CI / Release (push) Successful in 56s
CI / Notify (push) Successful in 2s
- Add .pre-commit-config.yaml for local development
- Update .gitignore to allow .pre-commit-config.yaml
2026-02-02 09:10:27 -05:00
4 changed files with 42 additions and 8 deletions

View File

@@ -18,10 +18,7 @@ jobs:
uses: actions/checkout@v4
- name: Set up uv
uses: astral-sh/setup-uv@v7
with:
version: "latest"
activate-environment: false
run: curl -LsSf https://astral.sh/uv/install.sh | sh && echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Set up Python
run: uv python install 3.13
@@ -43,10 +40,7 @@ jobs:
uses: actions/checkout@v4
- name: Set up uv
uses: astral-sh/setup-uv@v7
with:
version: "latest"
activate-environment: false
run: curl -LsSf https://astral.sh/uv/install.sh | sh && echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Set up Python
run: uv python install 3.13

1
.gitignore vendored
View File

@@ -34,6 +34,7 @@ ENV/
# Compiled KFP pipelines
*.yaml
!.pre-commit-config.yaml
!pipelines/*.py
# Local

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

@@ -0,0 +1,32 @@
# Pre-commit hooks for voice-assistant
# Install: pip install pre-commit && pre-commit install
# Run: pre-commit run --all-files
repos:
# Ruff - fast Python linter and formatter
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.4
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
# Standard pre-commit hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
args: [--maxkb=500]
- id: check-merge-conflict
- id: detect-private-key
# Type checking (optional - uncomment when ready)
# - repo: https://github.com/pre-commit/mirrors-mypy
# rev: v1.10.0
# hooks:
# - id: mypy
# additional_dependencies: [types-all]
# args: [--ignore-missing-imports]

7
renovate.json Normal file
View File

@@ -0,0 +1,7 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>daviestechlabs/renovate-config",
"local>daviestechlabs/renovate-config:python"
]
}