diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml new file mode 100644 index 0000000..149946d --- /dev/null +++ b/.forgejo/workflows/ci.yml @@ -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 diff --git a/.python-version b/.python-version new file mode 100644 index 0000000..e4fba21 --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.12