-
Notifications
You must be signed in to change notification settings - Fork 104
/
pyproject.toml
104 lines (93 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
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools",
]
[project]
name = "query-exporter"
description = "Export Prometheus metrics generated from SQL queries"
readme = "README.rst"
keywords = [
"exporter",
"metric",
"prometheus",
"sql",
]
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 :: 5 - Production/Stable",
"Framework :: AsyncIO",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Database",
"Topic :: System :: Monitoring",
"Topic :: Utilities",
]
dynamic = [
"version",
]
dependencies = [
"aiohttp",
"croniter",
"jsonschema",
"prometheus-aioexporter>=3",
"prometheus-client",
"python-dateutil",
"pyyaml",
"sqlalchemy>=2",
"structlog",
"toolrack>=4",
]
optional-dependencies.testing = [
"pytest",
"pytest-asyncio",
"pytest-mock",
"pytest-structlog",
]
urls.changelog = "https://github.com/albertodonato/query-exporter/blob/main/CHANGES.rst"
urls.homepage = "https://github.com/albertodonato/query-exporter"
urls.repository = "https://github.com/albertodonato/query-exporter"
scripts.query-exporter = "query_exporter.main:script"
[tool.setuptools.dynamic]
version = { attr = "query_exporter.__version__" }
[tool.setuptools.packages.find]
include = [ "query_exporter*" ]
[tool.setuptools.package-data]
query_exporter = [ "py.typed", "schemas/*" ]
[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"
[tool.coverage.report]
fail_under = 100.0
show_missing = true
skip_covered = true
[tool.coverage.run]
source = [ "query_exporter" ]
omit = [
"query_exporter/main.py",
]
[tool.mypy]
ignore_missing_imports = true
install_types = true
non_interactive = true
strict = true
[tool.pip-tools]
upgrade = true
quiet = true