60e0ffc959
Schema Crash Test / Real-world schema crash test (232K schemas) (push) Waiting to run
Run static analysis / static_analysis (push) Waiting to run
Tests / Tests: Python 3.10 on ubuntu-latest (push) Waiting to run
Tests / Tests: Python 3.13 on ubuntu-latest (push) Waiting to run
Tests / Tests: Python 3.10 on windows-latest (push) Waiting to run
Tests / Tests with lowest-direct dependencies (push) Waiting to run
Tests / Package install smoke (push) Waiting to run
Upgrade checks / Static analysis (push) Waiting to run
Upgrade checks / Tests: Python 3.10 on ubuntu-latest (push) Waiting to run
Upgrade checks / Tests: Python 3.13 on ubuntu-latest (push) Waiting to run
Upgrade checks / Tests: Python 3.10 on windows-latest (push) Waiting to run
Upgrade checks / Integration tests (push) Waiting to run
Upgrade checks / Notify on failure (push) Blocked by required conditions
Upgrade checks / Close issue on success (push) Blocked by required conditions
Update MCPServerConfig Schema / update-config-schema (push) Waiting to run
Update SDK Documentation / update-sdk-docs (push) Waiting to run
Tests / MCP conformance tests (push) Waiting to run
Tests / Integration tests (push) Waiting to run
56 lines
1.3 KiB
YAML
56 lines
1.3 KiB
YAML
fail_fast: false
|
|
|
|
repos:
|
|
- repo: https://github.com/abravalheri/validate-pyproject
|
|
rev: v0.24.1
|
|
hooks:
|
|
- id: validate-pyproject
|
|
|
|
- repo: https://github.com/rbubley/mirrors-prettier
|
|
rev: v3.8.4
|
|
hooks:
|
|
- id: prettier
|
|
types_or: [yaml, json5]
|
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
# Ruff version.
|
|
rev: v0.14.10
|
|
hooks:
|
|
# Run the linter.
|
|
- id: ruff-check
|
|
args: [--fix, --exit-non-zero-on-fix]
|
|
# Run the formatter.
|
|
- id: ruff-format
|
|
|
|
- repo: local
|
|
hooks:
|
|
- id: ty
|
|
name: ty check
|
|
entry: uv run --isolated ty check
|
|
language: system
|
|
types: [python]
|
|
files: ^fastmcp_slim/|^tests/
|
|
pass_filenames: false
|
|
require_serial: true
|
|
|
|
- id: loq
|
|
name: loq (file size limits)
|
|
entry: bash -c 'uv run loq || printf "\nloq violations not enforced... yet!\n"'
|
|
language: system
|
|
pass_filenames: false
|
|
verbose: true
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v6.0.0
|
|
hooks:
|
|
- id: no-commit-to-branch
|
|
name: prevent commits to main
|
|
args: [--branch, main]
|
|
|
|
- repo: https://github.com/codespell-project/codespell
|
|
rev: v2.4.1
|
|
hooks:
|
|
- id: codespell # See pyproject.toml for args
|
|
additional_dependencies:
|
|
- tomli
|