-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpyproject.toml
82 lines (70 loc) · 2.04 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
[build-system]
requires = ["hatchling"]
build-backend = 'hatchling.build'
[project]
name = "fastapi-health"
version = "0.4.0"
description = "Heath check on FastAPI applications. :ambulance:"
readme = "README.md"
authors = [{ name = "Marcelo Trylesinski", email = "marcelotryle@gmail.com" }]
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
license = "MIT"
requires-python = ">=3.8"
dependencies = ["fastapi>=0.85.0"]
optional-dependencies = {}
[project.urls]
Homepage = "https://github.com/Kludex/fastapi-health"
Source = "https://github.com/Kludex/fastapi-health"
Twitter = "https://twitter.com/marcelotryle"
Funding = "https://github.com/sponsors/Kludex"
[tool.hatch.envs.test]
dependencies = [
"pytest",
"coverage[toml]",
"pytest-sugar",
"pytest-asyncio",
"dirty-equals",
"httpx",
]
[tool.hatch.envs.test.scripts]
run = "coverage run -m pytest"
cov = "coverage report --show-missing --skip-covered"
[[tool.hatch.envs.test.matrix]]
python = ["3.8", "3.9", "3.10", "3.11"]
dependencies = ["pydantic<2", "pydantic>=2"]
[tool.mypy]
strict = true
show_error_codes = true
[tool.ruff]
line-length = 100
extend-select = ['Q', 'RUF100', 'C90', 'UP', 'I', 'T']
extend-ignore = ['E501']
target-version = "py38"
[tool.black]
target-version = ["py37"]
line_length = 100
[tool.pytest.ini_options]
addopts = ["--strict-config", "--strict-markers"]
filterwarnings = [
"error",
"ignore:'cgi' is deprecated and slated for removal in Python 3.13:DeprecationWarning",
]
[tool.coverage.run]
source_pkgs = ["fastapi_health", "tests"]
branch = true
parallel = true
[tool.coverage.report]
show_missing = true
skip_covered = true