Skip to content

chore: drop unused dev dependencies, unpin ty, refresh the lockfile #4

chore: drop unused dev dependencies, unpin ty, refresh the lockfile

chore: drop unused dev dependencies, unpin ty, refresh the lockfile #4

Workflow file for this run

---
name: Lint
on: # yamllint disable-line rule:truthy
workflow_dispatch:
push:
branches:
- master
- v*
pull_request:
branches:
- master
- v*
# ruff runs here rather than on pre-commit.ci, which blocks the network access
# uv needs to resolve this project's dependencies. Both the pre-commit hook and
# this workflow read the ruff version from uv.lock, so lint behaves the same
# locally and in CI.
jobs:
ruff:
name: ruff
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v7
- name: Install uv
uses: astral-sh/setup-uv@v9.0.0
with:
enable-cache: true
python-version: '3.11'
- name: Run ruff check
run: uv run --frozen ruff check --output-format github
- name: Run ruff format
run: uv run --frozen ruff format --check --diff