Skip to content

Add project toml and add uv to build #5

Add project toml and add uv to build

Add project toml and add uv to build #5

Workflow file for this run

# Basic CI setup: Lint with ruff
name: Test
on:
pull_request:
push:
branches:
- main
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
- name: Ruff lint
run: uv run ruff check .
- name: Ruff check import sorting
run: uv run ruff check --select I .
- name: Ruff format
run: uv run ruff format --diff .
# This isn't a general Python lint, this style is just used in this repository
- name: Prettier format
run: npx prettier --prose-wrap always --check "**/*.md"