Skip to content

Commit c2b3ada

Browse files
committed
Fix CI: scope ruff check/format to src/ and tests/ only
README.md Python code blocks use 4-space indent (standard markdown convention) which conflicts with ruff's 2-space project config. Restrict CI ruff to source and test directories.
1 parent e918689 commit c2b3ada

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
- uses: actions/checkout@v6
2121
- uses: astral-sh/ruff-action@v3
2222
with:
23-
args: "check"
23+
args: "check src/ tests/"
2424
- uses: astral-sh/ruff-action@v3
2525
with:
26-
args: "format --check --diff"
26+
args: "format --check --diff src/ tests/"
2727

2828
codespell:
2929
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)