-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (66 loc) · 1.66 KB
/
Copy pathpyproject.toml
File metadata and controls
76 lines (66 loc) · 1.66 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
73
74
75
76
[build-system]
requires = ["hatchling", "hatch-regex-commit"]
build-backend = "hatchling.build"
[project]
name = "pythonkuma"
dynamic = ["version"]
description = "Simple Python wrapper for Uptime Kuma"
readme = "README.md"
license = "MIT"
requires-python = ">=3.12"
authors = [
{ name = "Manfred Dennerlein Rodelo", email = "manfred@dennerlein.name" },
{ name = "Jayakorn Karikan", email = "jayakornk@gmail.com" },
]
classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
]
dependencies = [
"aiohttp>=3.12.9",
"prometheus-client>=0.21.0",
"mashumaro>=3.13.1",
]
[project.optional-dependencies]
dev = [
"ruff==0.11.13",
"aiohttp==3.12.12",
"prometheus-client==0.22.1",
"mashumaro==3.16",
"mkdocs-material==9.6.14",
"mkdocstrings[python]==0.29.0",
]
[project.urls]
Source = "https://github.com/tr4nt0r/pythonkuma"
Documentation = "https://tr4nt0r.github.io/pythonkuma"
[tool.hatch.version]
source = "regex_commit"
commit_extra_args = ["-e"]
path = "pythonkuma/__init__.py"
[tool.hatch.build.targets.sdist]
include = [
"/pythonkuma",
]
[tool.hatch.envs.default]
dependencies = [
"pythonkuma[dev]"
]
[tool.hatch.envs.hatch-static-analysis]
dependencies = [
"ruff==0.11.13",
]
config-path = "ruff.toml"
[tool.pytest.ini_options]
addopts = "--cov=pythonkuma/ --cov-report=term-missing"
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope="module"
testpaths = ["tests"]
pythonpath = ["pythonkuma"]
[tool.hatch.envs.hatch-test]
extra-dependencies = [
"pythonkuma[dev]",
"pytest-cov==6.1.1",
]
[tool.hatch.envs.default.scripts]
docs-serve = "mkdocs serve"
docs-build = "mkdocs build"