Skip to content

Commit bdf3dc8

Browse files
committed
commit-check: exclude tests
1 parent dc6a5d9 commit bdf3dc8

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/pre-commit-checks.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,19 @@ jobs:
4242
4343
- name: Run black
4444
id: black
45-
run: black --check .
45+
run: black --check . --exclude tests
4646

4747
- name: Run mypy
4848
id: mypy
49-
run: mypy . --install-types --non-interactive --ignore-missing-imports
49+
run: mypy . --install-types --non-interactive --ignore-missing-imports --exclude tests
5050

5151
- name: Run isort
5252
id: isort
53-
run: isort --check --profile=black .
53+
run: isort --check --profile=black . --skip tests
5454

5555
- name: Run ruff
5656
id: ruff
57-
run: ruff check .
57+
run: ruff check . --exclude tests
5858

5959
- name: Check if any checks failed
6060
if: failure()

0 commit comments

Comments
 (0)