Skip to content

Commit

Permalink
chore: introduce black for code format in github actions (#47)
Browse files Browse the repository at this point in the history
* use black with SHA1
  • Loading branch information
ChenZiHong-Gavin authored Jun 6, 2024
1 parent 326d66d commit 020f99b
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: "Black Code Formatter"

on:
push:
branches:
- 'release-*'
pull_request:

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: psf/black@3702ba224ecffbcec30af640c149f231d90aebdb
with:
options: "--check --diff --line-length 100"
src: "hugegraph-llm/src hugegraph-python-client/src"

0 comments on commit 020f99b

Please sign in to comment.