Spaces:
Configuration error
Configuration error
File size: 629 Bytes
44657b5 16d905e 44657b5 2acaa40 44657b5 2acaa40 44657b5 2acaa40 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
fail_fast: true
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.6
hooks:
# Run the Ruff formatter.
- id: ruff-format
args: [--config=pyproject.toml]
# Run the Ruff linter.
- id: ruff
args: [--exit-non-zero-on-fix, --fix, --config=pyproject.toml]
- repo: local
hooks:
- id: system
name: MyPy
entry: uv run --no-sync mypy docling_serve
pass_filenames: false
language: system
files: '\.py$'
- repo: https://github.com/astral-sh/uv-pre-commit
# uv version.
rev: 0.6.1
hooks:
- id: uv-lock
|