mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-23 14:04:18 +02:00
Update pre-commit
This commit is contained in:
parent
7aa0b9b593
commit
2f2c7468b7
1 changed files with 12 additions and 2 deletions
|
|
@ -13,8 +13,18 @@ repos:
|
|||
types_or: [yaml, json5]
|
||||
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: v0.8.0
|
||||
# Ruff version.
|
||||
rev: v0.11.4
|
||||
hooks:
|
||||
- id: ruff-format
|
||||
# Run the linter.
|
||||
- id: ruff
|
||||
args: [--fix, --exit-non-zero-on-fix]
|
||||
# Run the formatter.
|
||||
- id: ruff-format
|
||||
|
||||
- repo: https://github.com/northisup/pyright-pretty
|
||||
rev: v0.1.0
|
||||
hooks:
|
||||
- id: pyright-pretty
|
||||
files: ^src/|^tests/
|
||||
exclude: ^examples/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue