Skip to content

Commit dd3bdab

Browse files
jirhikerclaude
andcommitted
Add dg project config to pyproject files
Declare the Dagster dg CLI project layout: root pyproject marks the repo as a dg project; orchestration/pyproject sets root_module=orchestration. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent ba35299 commit dd3bdab

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

orchestration/pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,9 @@ nmuwd = { path = "../", editable = true }
2626

2727
[tool.hatch.build.targets.wheel]
2828
packages = ["orchestration"]
29+
30+
[tool.dg]
31+
directory_type="project"
32+
33+
[tool.dg.project]
34+
root_module="orchestration"

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,6 @@ ignore_missing_imports = true
4949
# Archived tests are excluded from pytest (norecursedirs) and reference an old
5050
# CLI API; don't type-check them either.
5151
exclude = ["tests/archived/"]
52+
53+
[tool.dg]
54+
directory_type = "project"

0 commit comments

Comments
 (0)