refactor(api): scope uv to s2s-client and validate compatible responses
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user