DeepCritical / .pre-commit-config.yaml
Joseph Pollack
demo launches
53c4c46 unverified
raw
history blame
1.37 kB
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.4
hooks:
- id: ruff
args: [--fix, --exclude, tests]
exclude: ^reference_repos/
- id: ruff-format
args: [--exclude, tests]
exclude: ^reference_repos/
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.10.0
hooks:
- id: mypy
files: ^src/
exclude: ^folder
additional_dependencies:
- pydantic>=2.7
- pydantic-settings>=2.2
- tenacity>=8.2
- pydantic-ai>=0.0.16
args: [--ignore-missing-imports]
- repo: local
hooks:
- id: pytest-unit
name: pytest unit tests (no OpenAI)
entry: uv
language: system
types: [python]
args: [
"run",
"python",
".pre-commit-hooks/run_pytest_with_sync.py",
"unit",
]
pass_filenames: false
always_run: true
require_serial: false
- id: pytest-local-embeddings
name: pytest local embeddings tests
entry: uv
language: system
types: [python]
args: [
"run",
"python",
".pre-commit-hooks/run_pytest_with_sync.py",
"embeddings",
]
pass_filenames: false
always_run: true
require_serial: false