# If you don't have 'just' installed, install it with the following command:
#
# $  uv tool install rust-just
#
# The 'just' website: https://just.systems/man/en/

default:
    @just --list

typecheck:
    uv run --with mypy mypy -p egse --strict

test target="":
    #!/usr/bin/env bash
    if [ -z "{{target}}" ]; then
        uv run pytest -v
    else
        uv run pytest -v -k {{target}}
    fi

format:
    uvx ruff format

check:
    uvx ruff check --no-fix
