30 lines
555 B
Makefile
30 lines
555 B
Makefile
# Justfile for Streamlit example app
|
|
# Use `just <command>` to run tasks
|
|
|
|
# Default task: show available commands
|
|
default:
|
|
just --list
|
|
|
|
# Run the Streamlit app
|
|
run:
|
|
uv run streamlit run app.py
|
|
|
|
# Install dependencies
|
|
install:
|
|
uv add streamlit ruff matplotlib plotly pandas numpy
|
|
|
|
# Format code with ruff
|
|
format:
|
|
uv run ruff format .
|
|
|
|
# Check code with ruff
|
|
check:
|
|
uv run ruff check .
|
|
|
|
# Run all checks and formatting
|
|
lint:
|
|
just format && just check
|
|
|
|
# Clean up cache files
|
|
clean:
|
|
rm -rf __pycache__ .ruff_cache .streamlit_cache
|