.pre-commit-config.yaml•1.27 kB
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-merge-conflict
- id: check-json
- id: check-yaml
- id: check-toml
- id: end-of-file-fixer
- id: trailing-whitespace
- id: pretty-format-json
args: [--autofix, --no-sort-keys]
- repo: https://github.com/google/yamlfmt
rev: v0.17.2
hooks:
- id: yamlfmt
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.13.3
hooks:
- id: ruff
args: [--fix]
- id: ruff-format
- repo: https://github.com/tox-dev/pyproject-fmt
rev: v2.7.0
hooks:
- id: pyproject-fmt
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.18.2
hooks:
- id: mypy
args: []
additional_dependencies:
- "mcp>=1.9"
- "youtube-transcript-api>=1.1.0"
- "beautifulsoup4>=4.13.3"
- "humanize>=4.13"
- "rich-click>=1.8.8"
- "pytest>=8.3.5"
- "pytest-mock>=3.14"
- "types-requests>=2.32.0.20250306"
- repo: local
hooks:
- id: pytest
name: Run pytest
entry: uv run pytest
language: system
pass_filenames: false
always_run: true