This commit is contained in:
parent
0fa2782343
commit
84637ec57f
2 changed files with 16 additions and 0 deletions
15
.forgejo/workflows/ci.yml
Normal file
15
.forgejo/workflows/ci.yml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
sast:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-python@v5
|
||||||
|
- name: Install pipx
|
||||||
|
run: pip install pipx
|
||||||
|
- name: Check formatting
|
||||||
|
run: pipx run black . --check
|
||||||
|
- name: Check import ordering
|
||||||
|
run: pipx run isort . --check
|
1
.python-version
Normal file
1
.python-version
Normal file
|
@ -0,0 +1 @@
|
||||||
|
3.12
|
Loading…
Reference in a new issue