Skip to content
Closed
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
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ uv add ../sqlmesh-ff

## Quick start

1. Add `fitness_functions.yaml` to your SQLMesh project root (see [Configuration](#configuration)).
2. Add a small `config.py` bootstrap (see [Where configuration lives](#where-configuration-lives)) — SQLMesh requires the loader as a Python class and cannot load `config.py` and `config.yaml` in the same folder.
Your fitness function settings live in **`fitness_functions.yaml`** — that is the config you edit. The project `config.py` is optional SQLMesh wiring only (see below).

1. Add `fitness_functions.yaml` to your SQLMesh project root with your thresholds and rule toggles (see [Configuration](#configuration)).
2. **Optional — only for native SQLMesh commands** (`sqlmesh plan`, etc.): add a small `config.py` bootstrap that registers `FitnessLoader` and points at `fitness_functions.yaml` (see [Where configuration lives](#where-configuration-lives)). SQLMesh requires the loader as a Python class and cannot load `config.py` and `config.yaml` in the same folder. You do **not** put fitness settings in `config.py`.
3. Run lint:

```bash
Expand Down
Loading