#!/usr/bin/env -S just --justfile

default:
    just --list

test-runtime:
    time python3 -m pytest tests  # -m "not slow"

test: && test-runtime
    ruff check baseprinter || true
    mypy --strict baseprinter
    cd tests && mypy --ignore-missing-imports .  # cd for separate mypy cache+config

clean:
    rm -rf dist
    rm -rf build
    rm -rf baseprinter.egg-info
    rm -f baseprinter/_version.py
