-
Notifications
You must be signed in to change notification settings - Fork 76
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (63 loc) · 1.27 KB
/
Copy pathpyproject.toml
File metadata and controls
72 lines (63 loc) · 1.27 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
[project]
name = "dddpy"
version = "2.0.1"
description = "An example of Python FastAPI Domain-Driven Design and Onion Architecture."
authors = [{ name = "iktakahiro", email = "takahiro.ikeuchi@gmail.com" }]
dependencies = [
"sqlalchemy==2.0.48",
"fastapi[standard]==0.135.3",
]
readme = "README.md"
requires-python = ">=3.13"
[project.optional-dependencies]
dev = [
"pyrefly>=0.59.1",
"pytest>=9.0.2",
"ruff>=0.15.9",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.uv]
package = false
# https://docs.astral.sh/uv/reference/settings/#exclude-newer
exclude-newer = "1 week"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["dddpy"]
[tool.ruff]
line-length = 88
indent-width = 4
target-version = "py313"
[tool.ruff.lint]
select = [
"E",
"W",
"F",
"I",
"TID",
"C4",
"UP",
"N",
"B",
"C90",
"TC",
"ERA",
"PD",
"PGH",
"PL",
"TRY",
"PIE",
"PERF",
]
ignore = ["E501", "B008", "TC003"]
[tool.ruff.format]
quote-style = "single"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = true
docstring-code-line-length = "dynamic"
[tool.pyrefly]
project_includes = ["main.py", "dddpy"]