From f8877c704253120709257623d3a1d504ab979394 Mon Sep 17 00:00:00 2001 From: frizzleqq Date: Tue, 6 Jan 2026 10:56:49 +0100 Subject: [PATCH] add agent instructions --- AGENTS.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 AGENTS.md diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..e163291 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,25 @@ +# AGENTS.md + +This repo uses Databricks CLI to deploy a Databricks Asset Bundle. + +## Project Structure +- `databricks.yml`: Databricks Asset Bundle configuration file +- `dbt`: dbt project +- `src/dab_project`: Python project using PySpark and DeltaTable +- `resources`: Databricks workflow resources +- `tests`: Unit tests for the Python project + + ## Setup commands +- Install deps: `uv sync --locked --all-extras` +- Run code checks: `uv run ruff check` +- Check code formatting: `uv run ruff format --check` +- Run tests: `uv run pytest -v` + +## Unit-Tests +- On Linux systems, run: `uv run pytest -v` +- On Windows systems, run: + ```powershell + uv pip uninstall pyspark + uv pip install databricks-connect==17.2.* + uv run --no-sync pytest -v + ``` \ No newline at end of file