refactor(server): adopt uv and modular typed FastAPI structure

This commit is contained in:
2026-10-06 18:18:36 -03:00
parent 34f0d1b125
commit 92c53dc7ca
38 changed files with 8363 additions and 6622 deletions
+25
View File
@@ -0,0 +1,25 @@
minimum_pre_commit_version: "4.4.0"
default_install_hook_types: [pre-commit]
default_stages: [pre-commit]
repos:
- repo: local
hooks:
- id: ruff-check
name: Ruff lint
entry: uv run --locked ruff check --force-exclude
language: unsupported
types_or: [python, pyi]
require_serial: true
- id: ruff-format
name: Ruff formatting
entry: uv run --locked ruff format --check --force-exclude
language: unsupported
types_or: [python, pyi]
require_serial: true
- id: mypy
name: Python types
entry: uv run --locked mypy
language: unsupported
pass_filenames: false
files: ^(s2s_client/|s2s-client/server\.py|pyproject\.toml|uv\.lock)