Initial commit

This commit is contained in:
2026-05-01 09:24:14 +02:00
commit 9cee33c405
13 changed files with 187 additions and 0 deletions

38
.github/workflows/tests.yml vendored Normal file
View File

@@ -0,0 +1,38 @@
name: Run tests
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
env:
PIP_ROOT_USER_ACTION: ignore
UV_LINK_MODE: copy
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install uv
uv sync --locked
- name: Check format with ruff
run: |
uv run ruff format --check
- name: Check code linting with ruff
run: |
uv run ruff check