Skip to content

Commit

Permalink
Add formatting check to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Rot127 committed Mar 21, 2024
1 parent 93fcf91 commit 837125f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/auto-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Auto-Sync
on:
push:
paths:
- "suite/auto-sync/**"
pull_request:

jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Check formatting
uses: omnilib/ufmt@action-v1
with:
path: ["suite/auto-sync/src/"]
python-version: "3.x"
3 changes: 3 additions & 0 deletions suite/auto-sync/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ version = "0.1.0"
dependencies = [
"termcolor >= 2.3.0",
"tree_sitter < 0.22.0",
"black == 22.6.0",
"ufmt == 2.0.0",
"usort == 1.0.4",
]
requires-python = ">= 3.11"

Expand Down

0 comments on commit 837125f

Please sign in to comment.