Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ ci:
- shfmt-docs
- spelling
- sphinx-lint
- ty
- ty-docs
- vulture
- vulture-docs
- yamlfix
Expand Down Expand Up @@ -194,6 +196,24 @@ repos:
types_or: [python]
additional_dependencies: [uv==0.9.5]

- id: ty
name: ty
stages: [pre-push]
entry: uv run --extra=dev ty check
language: python
types_or: [python, toml]
pass_filenames: false
additional_dependencies: [uv==0.9.5]

- id: ty-docs
name: ty-docs
stages: [pre-push]
entry: uv run --extra=dev doccmd --no-write-to-file --example-workers 0 --language=python
--command="ty check"
language: python
types_or: [markdown, rst]
additional_dependencies: [uv==0.9.5]

- id: vulture
name: vulture
entry: uv run --extra=dev -m vulture .
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ dynamic = [
"version",
]
dependencies = [
"beartype>=0.19.0",
"beartype>=0.22.9",
"click>=8.1.7",
"pyyaml>=6.0.2",
"selenium>=4.25.0",
Expand Down Expand Up @@ -69,6 +69,7 @@ optional-dependencies.dev = [
"sphinx-pyproject==0.3.0",
"sphinx-substitution-extensions==2025.11.17",
"sphinxcontrib-spelling==8.0.2",
"ty==0.0.1a34",
"types-pyyaml==6.0.12.20250915",
"vulture==2.14",
"yamlfix==1.19.0",
Expand Down