-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
64 lines (55 loc) · 1.41 KB
/
pyproject.toml
File metadata and controls
64 lines (55 loc) · 1.41 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
[project]
name = "adam-dagster-shared"
version = "0.1.0"
description = "Shared utilities for Dagster user repositories"
authors = [
{name = "Alec Koumjian", email = "alec@b612foundation.org"},
]
dependencies = [
"google-cloud-container>=2.55.0",
"kubernetes>=31.0.0",
"google-auth>=2.37.0",
"dagster>=1.8.7",
"click>=8.1.7"
]
requires-python = "<3.13,>=3.11"
readme = "README.md"
license = {text = "MIT"}
[project.scripts]
adam-dagster = "adam_dagster_shared.cli:cli"
[project.optional-dependencies]
test = [
"pytest>=8.3.4",
"ruff>=0.9.3",
"black>=24.10.0",
"isort>=5.13.2",
]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm]
distribution = true
[tool.black]
line-length = 88
[tool.isort]
profile = "black"
[tool.ruff]
line-length = 110
target-version = "py311"
lint.ignore = []
exclude = ["build"]
[tool.pdm.version]
source = "scm"
write_to = "adam_dagster_shared/_version.py"
write_template = "__version__ = '{}'"
[tool.pdm.scripts]
check = { composite = ["lint", "typecheck", "test"] }
format = { composite = ["black src/adam_dagster_shared", "isort src/adam_dagster_shared"] }
lint = { composite = [
"ruff check src/adam_dagster_shared",
"black --check src/adam_dagster_shared",
"isort --check-only src/adam_dagster_shared",
] }
fix = "ruff check --fix src/adam_dagster_shared"
typecheck = "mypy --strict src/adam_dagster_shared"
test = "pytest {args}"