chore: add consistent mise.toml, justfile, and tooling config

This commit is contained in:
swaits committed 2026-04-07 14:41:28 -06:00
1 parent 8b0f161a89
commit b3e8f07459
2 files changed
+18

No files matched your search

+15
View File
@@ -9,6 +9,21 @@ _uv_orac := "uv run --project " + _proj + " --extra orac"
_ensure_tools:
@mise trust --yes . 2>/dev/null; mise install --quiet
# Run all checks (fmt, lint)
check: fmt-check lint
# Format code
fmt: _ensure_tools
@uv run ruff format .
# Check formatting without changing files
fmt-check: _ensure_tools
@uv run ruff format --check .
# Lint
lint: _ensure_tools
@uv run ruff check .
# Receive LoRa packets (Ctrl-C to stop)
rx *args: _ensure_tools
@{{_uv}} {{source_directory()}}/simple_rx.py {{args}}
+3
View File
@@ -12,6 +12,9 @@ dependencies = [
meshcore = ["donglora[meshcore]"]
orac = ["donglora[orac]"]
[dependency-groups]
dev = ["ruff"]
[tool.uv]
package = false