Files
AI/참고/neo4j-graphrag-python-main/.pre-commit-config.yaml

35 lines
910 B
YAML
Raw Permalink Normal View History

2026-05-12 19:40:31 +09:00
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: local
hooks:
- id: ruff-lint-isort
name: Ruff Lint Sort Imports
entry: uv run ruff check .
language: system
types: [ python ]
stages: [ commit, push ]
- id: ruff-lint
name: Ruff Lint Check
entry: uv run ruff format --check .
language: system
types: [ python ]
stages: [ commit, push ]
- id: mypy
name: Mypy Type Check
entry: uv run mypy .
language: system
types: [ python ]
stages: [ commit, push ]
pass_filenames: false
args: [
--strict,
--ignore-missing-imports,
--allow-untyped-calls,
--allow-subclassing-any,
--exclude='./docs/'
]