refactor(api): scope uv to s2s-client and validate compatible responses

This commit is contained in:
2026-10-06 18:23:08 -03:00
parent 92c53dc7ca
commit f8d5b7857a
39 changed files with 316 additions and 67 deletions
+27
View File
@@ -0,0 +1,27 @@
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 --project s2s-client --locked ruff check --force-exclude
language: unsupported
types_or: [python, pyi]
files: ^s2s-client/
require_serial: true
- id: ruff-format
name: Ruff formatting
entry: uv run --project s2s-client --locked ruff format --check --force-exclude
language: unsupported
types_or: [python, pyi]
files: ^s2s-client/
require_serial: true
- id: mypy
name: Python types
entry: uv run --directory s2s-client --locked mypy
language: unsupported
pass_filenames: false
files: ^s2s-client/(s2s_client/|server\.py|pyproject\.toml|uv\.lock)