Skip to content

Commit ea5d77c

Browse files
committed
fix docgen
1 parent 937e048 commit ea5d77c

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ repos:
1414
- id: ruff
1515
name: mcp-lint
1616
files: ^mcp/
17-
args: [--config, mcp/pyproject.toml, --config, "src = ['mcp/src']", --fix]
17+
args:
18+
[--config, mcp/pyproject.toml, --config, "src = ['mcp/src']", --fix]
1819
- id: ruff-format
1920
name: mcp-format
2021
files: ^mcp/
@@ -43,6 +44,7 @@ repos:
4344
language: system
4445
entry: make -C api generate-docs
4546
pass_filenames: false
47+
files: ^api/
4648
types_or: [python, toml]
4749
- id: api-typecheck
4850
name: api-typecheck
@@ -69,7 +71,7 @@ repos:
6971
- id: flagsmith-lint-tests
7072

7173
- repo: https://github.com/astral-sh/uv-pre-commit
72-
rev: 0.11.18 # Ensure this matches the version in api/pyproject.toml
74+
rev: 0.11.18 # Ensure this matches the version in api/pyproject.toml
7375
hooks:
7476
- id: uv-lock
7577
name: api-lockcheck

0 commit comments

Comments
 (0)