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
2 changes: 1 addition & 1 deletion .github/workflows/lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
activate-environment: true

- name: Install dependencies
run: uv sync --frozen
run: uv sync --locked

- name: Run pre-commit hooks
run: SKIP=ruff pre-commit run --all-files
Expand Down
9 changes: 8 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,17 @@ repos:
args: [--markdown-linebreak-ext=md]
- repo: local
hooks:
- id: uv-lock
name: uv-lock
description: "Automatically run 'uv lock' on your project dependencies"
entry: uv lock
language: python
files: ^(uv\.lock|pyproject\.toml|uv\.toml)$
pass_filenames: false
- id: ruff
name: ruff
description: Run ruff linting
entry: uv run --frozen ruff check --force-exclude
entry: uv run --locked ruff check --force-exclude
language: system
'types_or': [python, pyi]
require_serial: true
Expand Down