Skip to content

Commit 0546d96

Browse files
committed
Add format check
1 parent a882a9a commit 0546d96

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,17 @@ on:
77
branches: [ main, development, experimental ]
88

99
jobs:
10+
11+
pre-commit:
12+
name: Format
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v1
16+
- uses: actions/setup-python@v2
17+
- uses: pre-commit/[email protected]
18+
with:
19+
extra_args: --hook-stage manual --all-files
20+
1021
build:
1122

1223
runs-on: ubuntu-latest

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ repos:
4646
# files: src
4747

4848
- repo: https://github.com/psf/black
49-
rev: 20.8b1
49+
rev: 22.3.0
5050
hooks:
5151
- id: black

0 commit comments

Comments
 (0)