Skip to content

Commit 020f99b

Browse files
chore: introduce black for code format in github actions (#47)
* use black with SHA1
1 parent 326d66d commit 020f99b

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/black.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: "Black Code Formatter"
2+
3+
on:
4+
push:
5+
branches:
6+
- 'release-*'
7+
pull_request:
8+
9+
jobs:
10+
lint:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: psf/black@3702ba224ecffbcec30af640c149f231d90aebdb
15+
with:
16+
options: "--check --diff --line-length 100"
17+
src: "hugegraph-llm/src hugegraph-python-client/src"

0 commit comments

Comments
 (0)