mirror of
https://github.com/PR0M3TH3AN/python_charts.git
synced 2026-10-27 17:00:41 +00:00
- Revise instructions in AGENTS.md to clarify that Python scripts should be run via `startup.sh`, which now installs dependencies globally. - Enhance project overview and command sections for better clarity on usage. - Update coding standards to reflect Python version requirements and Bash script practices. - Improve formatting and organization of command examples for better readability.
27 lines
475 B
Makefile
27 lines
475 B
Makefile
.PHONY: install data plot plot-custom test clean
|
|
|
|
# Install dependencies & fetch data
|
|
install:
|
|
./startup.sh
|
|
|
|
# Download FRED data (if needed)
|
|
data:
|
|
./startup.sh scripts/refresh_data.py
|
|
|
|
# Default 18-month lag plot
|
|
plot:
|
|
./startup.sh
|
|
|
|
# Custom plot
|
|
# Usage: make plot-custom ARGS="--offset 12 --end 2025-05-31 --extend-years 5"
|
|
plot-custom:
|
|
./startup.sh $(ARGS)
|
|
|
|
# Run tests
|
|
test:
|
|
./startup.sh pytest -q
|
|
|
|
# Clean up any outputs (no venv to delete)
|
|
clean:
|
|
rm -rf outputs
|