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

This commit is contained in:
swaits committed 2026-04-07 14:41:26 -06:00
1 parent edd981778e
commit f0033466a3
2 files changed
+25

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
set shell := ["bash", "-c"]
default: check
[private]
_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 .
+3
View File
@@ -20,6 +20,9 @@ dependencies = [
meshcore = ["pycryptodome", "pynacl"] meshcore = ["pycryptodome", "pynacl"]
orac = ["pycryptodome", "pynacl", "anthropic"] orac = ["pycryptodome", "pynacl", "anthropic"]
[dependency-groups]
dev = ["ruff"]
[build-system] [build-system]
requires = ["hatchling"] requires = ["hatchling"]
build-backend = "hatchling.build" build-backend = "hatchling.build"