Skip to content

Commit 84792e3

Browse files
authored
Merge pull request #196 from neulab/upgrade-black-ci
Use pre-commit Black in CI. Former-commit-id: 1a05684
2 parents 958dbb2 + bfccba2 commit 84792e3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,9 @@ jobs:
3232
with:
3333
python-version: 3.9
3434
- name: format
35-
uses: psf/black@stable
35+
uses: pre-commit/[email protected]
3636
with:
37-
options: "--check --verbose"
38-
version: "22.1.0"
37+
extra_args: black --all-files
3938
isort:
4039
runs-on: ubuntu-latest
4140
steps:

0 commit comments

Comments
 (0)