Skip to content

Commit 5177022

Browse files
committed
chore: Fix lints in example notebooks, and enable ci checks
1 parent 76f2803 commit 5177022

File tree

4 files changed

+735
-716
lines changed

4 files changed

+735
-716
lines changed

.github/workflows/ci-py.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ jobs:
6161
# run: uv run mypy .
6262

6363
- name: Check formatting with ruff
64-
run: uv run ruff format --check impl/py
64+
run: uv run ruff format --check
6565

6666
- name: Lint with ruff
67-
run: uv run ruff check impl/py
67+
run: uv run ruff check
6868

6969
test:
7070
needs: [changes]

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@ repos:
4040
- id: ruff-format
4141
name: ruff format
4242
description: Format python code with `ruff`.
43-
entry: uv run ruff format impl/py
43+
entry: uv run ruff format
4444
language: system
4545
files: \.py$
4646
pass_filenames: false
4747
- id: ruff-check
4848
name: ruff
4949
description: Check python code with `ruff`.
50-
entry: uv run ruff check --fix --exit-non-zero-on-fix impl/py
50+
entry: uv run ruff check --fix --exit-non-zero-on-fix
5151
language: system
5252
files: \.py$
5353
pass_filenames: false

0 commit comments

Comments
 (0)