-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
94 lines (84 loc) · 2.45 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
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools",
]
[project]
name = "prometheus-aioexporter"
description = "Asyncio library for creating Prometheus exporters"
readme = "README.rst"
keywords = [
"exporter",
"library",
"prometheus",
]
license = { file = "LICENSE.txt" }
maintainers = [
{ name = "Alberto Donato", email = "[email protected]" },
]
authors = [
{ name = "Alberto Donato", email = "[email protected]" },
]
requires-python = ">=3.11"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
]
dynamic = [
"version",
]
dependencies = [
"aiohttp>=3",
"click",
"prometheus-client>=0.4",
"python-dotenv",
"rich", # for nice tracebacks
"structlog",
]
optional-dependencies.testing = [
"pytest",
"pytest-aiohttp",
"pytest-asyncio",
"pytest-mock",
"pytest-structlog",
"trustme",
]
urls.changelog = "https://github.com/albertodonato/prometheus-aioexporter/blob/main/CHANGES.rst"
urls.homepage = "https://github.com/albertodonato/prometheus-aioexporter"
urls.repository = "https://github.com/albertodonato/prometheus-aioexporter"
scripts.prometheus-aioexporter-sample = "prometheus_aioexporter.sample:script"
[tool.setuptools.dynamic]
version = { attr = "prometheus_aioexporter.__version__" }
[tool.setuptools.packages.find]
include = [ "prometheus_aioexporter*" ]
[tool.setuptools.package-data]
prometheus_aioexporter = [ "py.typed" ]
[tool.ruff]
line-length = 79
lint.select = [ "F", "I", "RUF", "UP" ]
lint.isort.combine-as-imports = true
lint.isort.force-sort-within-sections = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
structlog_keep = [ "TimeStamper", "add_log_level", "JSONRenderer" ]
[tool.coverage.report]
fail_under = 100.0
show_missing = true
skip_covered = true
[tool.coverage.run]
source = [ "prometheus_aioexporter" ]
omit = [ "prometheus_aioexporter/sample.py" ]
[tool.mypy]
install_types = true
non_interactive = true
strict = true