Skip to content

Commit 1509fba

Browse files
authored
feat: Update lib-checks.yml to run ruff on the entire project (#139)
1 parent bc48553 commit 1509fba

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/lib-checks.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,19 @@ on:
44
push:
55
paths:
66
- "discord/**"
7-
- "requirements/**"
7+
- "examples/**"
8+
- "scripts/**"
9+
- "tests/**"
810
- "*.toml"
911
- "*.py"
1012
- ".*"
1113
branches: [master]
1214
pull_request:
1315
paths:
1416
- "discord/**"
15-
- "requirements/**"
17+
- "examples/**"
18+
- "scripts/**"
19+
- "tests/**"
1620
- "*.toml"
1721
- "*.py"
1822
- ".*"
@@ -63,9 +67,9 @@ jobs:
6367
- name: Sync dependencies
6468
run: uv sync --no-python-downloads --group dev
6569
- name: "Run ruff linter check"
66-
run: uv run ruff check discord/
70+
run: uv run ruff check .
6771
- name: "Run ruff formatter check"
68-
run: uv run ruff format --check discord/
72+
run: uv run ruff format --check .
6973
mypy:
7074
if: ${{ github.event_name != 'schedule' }}
7175
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)