1
0
Fork 0

ci: formatting checks
All checks were successful
/ sast (push) Successful in 1m16s

This commit is contained in:
Marc 2024-07-19 20:53:36 -04:00
parent 0fa2782343
commit 84637ec57f
Signed by: marc
GPG key ID: 048E042F22B5DC79
2 changed files with 16 additions and 0 deletions

15
.forgejo/workflows/ci.yml Normal file
View 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
View file

@ -0,0 +1 @@
3.12