Skip to content

Commit 7e98d8a

Browse files
committed
Use official Black action to check Python code formatting
1 parent 794e503 commit 7e98d8a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/check-python-formatting.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ on: [push, pull_request]
44

55
jobs:
66
check-formatting:
7-
name: runner / black
7+
name: Check formatting with Black
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v3
1111

12-
- name: Check files using the black formatter
13-
uses: rickstaa/action-black@v1
12+
- name: Check file formatting with Black
13+
uses: psf/black@stable
14+
with:
15+
options: "--check --verbose"

0 commit comments

Comments
 (0)