-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
35 lines (32 loc) · 914 Bytes
/
Copy path.pre-commit-config.yaml
File metadata and controls
35 lines (32 loc) · 914 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
repos:
# Lint & Format: Ruff (via uv)
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.1
hooks:
- id: ruff
name: "Lint ❌"
args: [--fix]
language_version: python3
- id: ruff-format
name: "Format"
language_version: python3
# Type Check: Pyright (via uv)
- repo: local
hooks:
- id: pyright
name: "Type Check ❌"
entry: uv run pyright
language: system
types: [python]
pass_filenames: false
# Docs: MkDocs build (via uv)
- repo: local
hooks:
- id: mkdocs-build
name: "Docs Build"
entry: uv run python -X utf8 -m mkdocs build --strict
language: system
files: ^(docs/|mkdocs\.yml|src/pytest_skill_engineering/)
pass_filenames: false
# Note: CodeQL ❌ runs on GitHub Actions (not pre-commit)
# See: .github/workflows/codeql.yml