Skip to content

Commit 73711f9

Browse files
committed
Run Black via PDM on CI
1 parent 3d87f50 commit 73711f9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/black.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ jobs:
2424
- name: Black version
2525
run: pdm run black --version
2626
- name: Black check
27-
run: pdm run black . --check
27+
run: make black

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ format: ## Format the code into unified format
7676
pdm run ruff check scripts src --fix --per-file-ignores=scripts/*:S101
7777
pdm run pre-commit run
7878

79+
black:
80+
pdm run black --check .
81+
7982
.PHONY: verify
8083
verify: check-types check-format check-code-metrics check-coverage ## Verify the code using various linters
8184

0 commit comments

Comments
 (0)