Skip to content

Commit 05d2ae6

Browse files
committed
add black formattin action for github
1 parent 5889fdf commit 05d2ae6

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/black.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Lint
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
lint:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- uses: psf/black@stable
11+
with:
12+
options: "--check -l 150"
13+
src: "."
14+
version: "~= 22.0"
15+

0 commit comments

Comments
 (0)