Skip to content
Merged
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
11 changes: 11 additions & 0 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ testAll = [
]

[tool.hatch.envs.testenv]
type = "virtual"
template = "testenv"
dependencies = [
"pip>=23,<24",
Expand All @@ -69,6 +70,7 @@ test = [
]

[tool.hatch.envs.dbr154]
path = ".venv/dbr154"
template = "testenv"
python = "3.11"
extra-dependencies = [
Expand All @@ -82,6 +84,7 @@ extra-dependencies = [
]

[tool.hatch.envs.dbr143]
path = ".venv/dbr143"
template = "testenv"
python = "3.10"
extra-dependencies = [
Expand All @@ -95,6 +98,7 @@ extra-dependencies = [
]

[tool.hatch.envs.dbr133]
path = ".venv/dbr133"
template = "testenv"
python = "3.10"
extra-dependencies = [
Expand All @@ -108,6 +112,7 @@ extra-dependencies = [
]

[tool.hatch.envs.dbr122]
path = ".venv/dbr122"
template = "testenv"
python = "3.9"
extra-dependencies = [
Expand All @@ -121,6 +126,7 @@ extra-dependencies = [
]

[tool.hatch.envs.dbr113]
path = ".venv/dbr113"
template = "testenv"
python = "3.9"
extra-dependencies = [
Expand All @@ -134,6 +140,7 @@ extra-dependencies = [
]

[tool.hatch.envs.lint]
path = ".venv/lint"
template = "testenv"
skip-install = true
dependencies = [
Expand All @@ -149,6 +156,7 @@ runLint = [
formatBlack = ["black ./tempo ./tests"]

[tool.hatch.envs.type-check]
path = ".venv/type-check"
template = "testenv"
skip-install = true
dependencies = [
Expand Down Expand Up @@ -190,6 +198,7 @@ exclude = [
]

[tool.hatch.envs.build-dist]
path = ".venv/build-dist"
template = "testenv"
skip-install = true
dependencies = [
Expand All @@ -202,6 +211,7 @@ build = "hatch build"


[tool.hatch.envs.build-docs]
path = ".venv/build-docs"
# TODO: making this dynamic is difficult in tox, so for now we will just use the latest version
# We should have a top-level makefile that orchestrates this which allows better environment prep and execution of
# shell scripts prior to tox execution. it'll also create a stable interface for migrating to hatch in the future
Expand Down Expand Up @@ -232,6 +242,7 @@ build = "make --directory ../docs html"


[tool.hatch.envs.coverage-report]
path = ".venv/coverage-report"
template = "testenv"
extra-dependencies = [
"coverage>=7,<8"
Expand Down