Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Changed
- Replaced `Make` with `just` for development commands

## [0.2.0] - 2025-11-11

### Added
Expand Down
42 changes: 0 additions & 42 deletions Makefile

This file was deleted.

41 changes: 41 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Default recipe - show help
default:
@echo "AlphaFlow Development Commands"
@echo "=============================="
@echo "just test - Run pytest tests"
@echo "just coverage - Run tests with coverage report"
@echo "just lint - Run ruff formatter and linter"
@echo "just typecheck - Run mypy type checker"
@echo "just check - Run all checks (lint + typecheck + test)"
@echo "just clean - Remove cache files and build artifacts"
@echo "just install - Install dependencies"
@echo "just docs - Serve documentation locally"

test:
@uv run pytest alphaflow/tests/

coverage:
@uv run pytest alphaflow/tests/ --cov=alphaflow --cov-report=html --cov-report=term
@echo "Coverage report generated in htmlcov/index.html"

lint:
@uv run ruff format alphaflow/
@uv run ruff check --fix alphaflow/

typecheck:
@uv run mypy alphaflow/

check: lint typecheck test

clean:
@find . -type d -name "__pycache__" -exec rm -rf {} + 2>/dev/null || true
@find . -type f -name "*.pyc" -delete
@find . -type f -name "*.pyo" -delete
@find . -type d -name "*.egg-info" -exec rm -rf {} + 2>/dev/null || true
@rm -rf build/ dist/ .pytest_cache/ .ruff_cache/ .mypy_cache/ htmlcov/ .coverage

install:
@uv sync

docs:
@uv run mkdocs serve
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ dev = [
"pytest-cov>=7.0.0",
"pytest-httpx>=0.35.0",
"ruff>=0.14.0",
"rust-just>=1.45.0",
]

[tool.ruff]
Expand Down
24 changes: 24 additions & 0 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.