Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
23
.gitea/workflows/format.yml
Normal file
23
.gitea/workflows/format.yml
Normal file
@ -0,0 +1,23 @@
|
||||
name: format
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "main"
|
||||
paths-ignore:
|
||||
- "README.md"
|
||||
- "LICENSE.txt"
|
||||
- "pyproject.toml"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: "https://github.com/actions/checkout@v4"
|
||||
|
||||
- name: Install black formatter
|
||||
run: sudo apt install black
|
||||
|
||||
- name: Check formatting
|
||||
run: make check
|
Reference in New Issue
Block a user