pyright skips .claude/scripts (it always adds its dot-directory exclude); ruff still checks it. The Stop hook now also runs ruff format --check, matching CI.
This commit is contained in:
1 parent
888a52b251
commit
e91d05497d
7 files changed
+301
No files matched your search
@@ -0,0 +1,25 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
checks:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: astral-sh/setup-uv@v6
|
||||
with:
|
||||
version: "0.13.7" # same as local; uv.lock and uv_build depend on it
|
||||
- name: Install dependencies
|
||||
run: uv sync --locked
|
||||
- name: Lint
|
||||
run: uv run ruff check .
|
||||
- name: Format
|
||||
run: uv run ruff format --check .
|
||||
- name: Types
|
||||
run: uv run pyright
|
||||
- name: Tests
|
||||
run: uv run pytest
|
||||
Reference in new issue
Block a user