Skip to content

Commit 9b8644b

Browse files
author
Diptorup Deb
authored
Fix the black action. (#356)
* Fix the black action. * Copy from #283.
1 parent 3e5b855 commit 9b8644b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/black.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,6 @@ jobs:
2424
- uses: actions/setup-python@v2
2525

2626
# Run black code formatter
27-
- uses: psf/black@stable
27+
- uses: psf/black@20.8b1
28+
with:
29+
args: ". --check"

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Run before each commit: `clang-format -style=file -i dpctl-capi/include/*.h dpct
1717

1818
We use [black](https://black.readthedocs.io/en/stable/) code formatter.
1919

20-
- Revision: `20.8b1` or branch `stable`.
20+
- Revision: `20.8b1`.
2121
- See configuration in `pyproject.toml`.
2222

2323
Run before each commit: `black .`

0 commit comments

Comments
 (0)