mirror of
https://github.com/docling-project/docling-serve.git
synced 2025-11-29 00:23:36 +00:00
48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
YAML
fail_fast: true
|
|
repos:
|
|
- repo: local
|
|
hooks:
|
|
- id: system
|
|
name: Black
|
|
entry: uv run --no-sync black docling_serve tests
|
|
pass_filenames: false
|
|
language: system
|
|
files: '\.py$'
|
|
- repo: local
|
|
hooks:
|
|
- id: system
|
|
name: isort
|
|
entry: uv run --no-sync isort docling_serve tests
|
|
pass_filenames: false
|
|
language: system
|
|
files: '\.py$'
|
|
- repo: local
|
|
hooks:
|
|
- id: autoflake
|
|
name: autoflake
|
|
entry: uv run --no-sync autoflake docling_serve tests
|
|
pass_filenames: false
|
|
language: system
|
|
files: '\.py$'
|
|
- repo: local
|
|
hooks:
|
|
- id: system
|
|
name: flake8
|
|
entry: uv run --no-sync flake8 docling_serve
|
|
pass_filenames: false
|
|
language: system
|
|
files: '\.py$'
|
|
- 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
|