-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
54 lines (46 loc) · 1.03 KB
/
pyproject.toml
File metadata and controls
54 lines (46 loc) · 1.03 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
[project]
name = "example-app"
version = "0.1.0"
description = "A hexagonal architecture example project with TDD"
readme = "README.md"
requires-python = ">=3.13"
dependencies = []
[project.scripts]
clean = "scripts.clean:main"
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-cov>=4.1.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/example_app"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
addopts = [
"-v",
"--tb=short",
]
markers = [
"unit: Unit tests - fast, isolated, no external dependencies",
"integration: Integration tests - may require external dependencies (database, network, etc.)",
]
[tool.coverage.run]
source = ["src/example_app"]
branch = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise NotImplementedError",
"if TYPE_CHECKING:",
]
[dependency-groups]
dev = [
"mypy>=1.19.1",
"pytest-cov>=7.0.0",
"ruff>=0.14.14",
]