first commit
This commit is contained in:
18
.github/workflows/format.yml
vendored
Normal file
18
.github/workflows/format.yml
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
name: SAM3/ufmt
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
jobs:
|
||||
ufmt_check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install ruff-api
|
||||
run: pip install ruff-api==0.1.0
|
||||
- name: Check formatting
|
||||
uses: omnilib/ufmt@action-v1
|
||||
with:
|
||||
path: sam3 scripts
|
||||
python-version: "3.12"
|
||||
black-version: "24.2.0"
|
||||
usort-version: "1.0.2"
|
||||
Reference in New Issue
Block a user