-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
55 lines (47 loc) · 1.31 KB
/
pyproject.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[project]
name = "adam-dagster-shared"
version = "0.1.0"
description = "Shared utilities for Dagster user repositories"
authors = [
{name = "Alec Koumjian", email = "[email protected]"},
]
dependencies = ["google-cloud-container>=2.55.0", "kubernetes>=31.0.0", "google-auth>=2.37.0", "dagster>=1.8.7"]
requires-python = "<3.13,>=3.11"
readme = "README.md"
license = {text = "MIT"}
[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}"