mirror of
https://github.com/open-jarvis/OpenJarvis.git
synced 2026-07-27 21:05:34 +00:00
CI's lint job ran ruff check but never ruff format --check, letting format drift land silently (79 files had drifted from the pinned ruff 0.15.1). Add the ruff format --check step to ci.yml, reformat the 79 drifted files with the pinned ruff (mechanical only — verified AST-identical to before across all files, no logic changes), and add a Makefile whose test target mirrors the actual CI lane. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
20 lines
486 B
Makefile
20 lines
486 B
Makefile
.PHONY: setup build test lint format
|
|
|
|
# Mirrors .github/workflows/ci.yml so `make test` matches CI locally.
|
|
|
|
setup:
|
|
uv sync --extra dev --extra framework-comparison --extra server
|
|
|
|
build:
|
|
uv run maturin develop --manifest-path rust/crates/openjarvis-python/Cargo.toml
|
|
|
|
test: build
|
|
uv run pytest tests/ -n auto -q --tb=short -m "not live and not cloud and not hub"
|
|
|
|
lint:
|
|
uv run ruff check src/ tests/
|
|
uv run ruff format --check src/ tests/
|
|
|
|
format:
|
|
uv run ruff format src/ tests/
|