mirror of
https://github.com/Cinnamon/kotaemon.git
synced 2026-07-09 20:09:10 +02:00
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v5.0.0
|
|
hooks:
|
|
- id: check-yaml
|
|
args: ["--unsafe"]
|
|
- id: check-toml
|
|
- id: end-of-file-fixer
|
|
- id: trailing-whitespace
|
|
- id: mixed-line-ending
|
|
- id: detect-aws-credentials
|
|
args: ["--allow-missing-credentials"]
|
|
- id: detect-private-key
|
|
- id: check-added-large-files
|
|
args: ["--maxkb=750"]
|
|
- id: debug-statements
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.15.0
|
|
hooks:
|
|
- id: ruff-check
|
|
args:
|
|
- --fix
|
|
- id: ruff-format
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
rev: "v1.19.1"
|
|
hooks:
|
|
- id: mypy
|
|
files: "^(libs/)"
|
|
additional_dependencies:
|
|
- pydantic
|
|
- types-PyYAML==6.0.12.11,
|
|
- "types-requests"
|
|
- "sqlmodel"
|
|
- "types-Markdown"
|
|
- "types-cachetools"
|
|
- types-tzlocal
|
|
- repo: https://github.com/codespell-project/codespell
|
|
rev: v2.4.1
|
|
hooks:
|
|
- id: codespell
|
|
additional_dependencies:
|
|
- tomli
|