-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
111 lines (99 loc) · 2.36 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
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
[project]
name = "health-checks"
description = "Library for health checks"
readme = "README.md"
requires-python = ">=3.9,<4"
keywords = [
"fastapi-health",
"litestar-health",
"health-check",
"uptime-monitoring",
"service-status",
"endpoint-health",
"application-monitoring",
"diagnostics",
"health-middleware",
"system-status",
]
classifiers = [
"Typing :: Typed",
"Topic :: Software Development :: Build Tools",
"Operating System :: MacOS",
"Operating System :: Microsoft",
"Operating System :: POSIX :: Linux",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"aiofiles>=0.6.0",
"aiopath>=0.5.6",
"fastapi>=0.100",
"litestar>=2",
]
dynamic = ["version"]
authors = [{ name = "community-of-python" }]
[dependency-groups]
dev = [
"anyio>=4.8.0",
"faker>=35.0.0",
"mypy>=1.14.1",
"pre-commit>=4.1.0",
"pydantic>=2.10.6",
"pydantic-settings>=2.7.1",
"pytest>=8.3.4",
"pytest-cov>=6.0.0",
"pytest-httpx>=0.35.0",
"pytest-mock>=3.14.0",
"pytest-xdist>=3.6.1",
"ruff>=0.9.3",
"types-aiofiles>=24.1.0.20241221",
]
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "vcs"
[tool.mypy]
files = ["health_checks", "tests"]
python_version = "3.9"
strict = true
pretty = true
show_error_codes = true
[tool.ruff]
target-version = "py39"
line-length = 120
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"EM",
"FBT",
"TRY003",
"FIX002",
"TD003",
"D1",
"D106",
"D203",
"D213",
"G004",
"FA",
"COM812",
"ISC001",
]
[tool.ruff.lint.isort]
no-lines-before = ["standard-library", "local-folder"]
lines-after-imports = 2
[tool.ruff.lint.extend-per-file-ignores]
"tests/*.py" = ["S101", "S311"]
[tool.coverage.report]
exclude_also = ["if typing.TYPE_CHECKING:", 'class \w+\(typing.Protocol\):']
omit = ["tests/*"]
[tool.pytest.ini_options]
addopts = '--cov=. -p no:warnings --cov-report term-missing --dist=loadgroup'