-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpixi.toml
35 lines (31 loc) · 1.58 KB
/
pixi.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[project]
channels = ["conda-forge"]
platforms = ["linux-64"]
name = "document-issue"
[dependencies]
python = ">=3.8"
rich = ">=13.9.3,<14"
pytest = "*"
pre-commit = ">=4.0.1,<5"
ipykernel = ">=6.29.5,<7"
erdantic = "*"
# eralchemy = "*"
[pypi-dependencies]
document-issue-io = { path = "packages/document-issue-io", extras = [
"dev",
], editable = true }
document-issue = { path = "packages/document-issue", editable = true }
document-issue-api = { path = "packages/document-issue-api", editable = true }
document-issue-ui = { path = "packages/document-issue-ui", editable = true }
pytest-examples = ">=0.0.15, <0.0.16"
[tasks]
test-document-issue = { cmd = "pytest", cwd = "packages/document-issue"}
test-document-issue-quarto = { cmd = "pytest", cwd = "packages/document-issue-quarto"}
test-document-issue-io = { cmd = "pytest", cwd = "packages/document-issue-io"}
test-document-issue-api = { cmd = "pytest", cwd = "packages/document-issue-api", env = { SQLALCHEMY_WARN_20="1" }}
update-examples = { cmd = "pytest --update-examples", cwd = "packages/document-issue-io"}
update-quarto-extensions = "tar -czvf packages/document-issue-io/src/document_issue_io/templates/document-issue-quarto.tar.gz -C packages/document-issue-quarto _extensions"
build-docs = { cmd = "quarto render .", cwd = "docs"} #, depends-on = ["test-document-issue-io"]
preview-docs = { cmd = "quarto preview .", cwd = "docs"}
demo-ui = { cmd = "voila demo.ipynb", cwd = "packages/document-issue-ui"}
tests = { depends-on = ["test-document-issue", "test-document-issue-quarto", "test-document-issue-io", "test-document-issue-api"] }