-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (72 loc) · 1.83 KB
/
pyproject.toml
File metadata and controls
89 lines (72 loc) · 1.83 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[build-system]
requires = ["hatchling>=1.29.0"]
build-backend = "hatchling.build"
[project]
name = "arca-flow"
version = "0.1.0"
description = "A Dagster-based orchestrator for OAIS-compliant SIP processing"
requires-python = ">=3.14"
license = "Apache-2.0"
authors = [
{ name = "Jaime Cardozo", email = "jaime.cardozo@library.ethz.ch" },
]
keywords = ["dagster", "mets", "oais", "sip", "digital-preservation"]
dependencies = [
"dagster>=1.13.4,<2.0.0",
"dagster-webserver>=1.10.15,<2.0.0",
"dagster-dg-cli>=0.1.0",
"pydantic>=2.13.4,<3.0.0",
"data-archive-models>=0.1.0a2.dev",
]
[project.urls]
Repository = "https://github.com/eth-library/arca-flow"
[project.optional-dependencies]
production = [
"dagster-k8s>=0.26.14",
"dagster-postgres>=0.26.14",
]
[dependency-groups]
dev = [
"pytest>=9.0.3",
"ruff>=0.15.12",
"mypy>=2.1.0",
"pre-commit>=4.6.0",
]
[tool.dagster]
module_name = "arca.flow.definitions"
code_location_name = "arca_flow"
[tool.dg]
directory_type = "project"
[tool.dg.project]
root_module = "arca.flow"
defs_module = "arca.flow.definitions"
code_location_name = "arca_flow"
[tool.hatch.build]
packages = ["arca"]
exclude = ["arca/flow/tests/**"]
[tool.hatch.build.targets.wheel]
include = ["arca/flow/**"]
exclude = ["arca/flow/tests/**"]
[tool.uv.sources]
data-archive-models = { index = "testpypi" }
[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple"
explicit = true
[tool.ruff]
target-version = "py313"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]
ignore = ["E501"] # line length handled separately
[tool.ruff.lint.isort]
known-first-party = ["arca"]
[tool.ruff.format]
quote-style = "double"
[tool.mypy]
namespace_packages = true
explicit_package_bases = true
mypy_path = "."
[tool.pytest.ini_options]
testpaths = ["arca/flow/tests"]
pythonpath = ["."]