aboutsummaryrefslogtreecommitdiff
path: root/pyproject.toml
blob: 0bffd85d912cc43b54799085ca6b3428c2577257 (plain) (blame)
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
[project]
name = "prometheus-borgmatic-exporter"
dynamic = ["version"]
description = "Collect borgmatic repository metrics and export them for Prometheus."
license = "BSD-3-Clause" 
license-files = ["LICENSES/BSD-3-Clause.txt"]
authors = [
  {name = "Dennis Fink", email = "me+coding@dennisfink.me"},
]
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
  "click-extra>=7.14.1",
  "prometheus-client>=0.25.0",
]
classifiers = [
  "Development Status :: 5 - Production/Stable",
  "Programming Language :: Python",
  "Programming Language :: Python :: 3.11",
  "Programming Language :: Python :: 3.12",
  "Programming Language :: Python :: 3.13",
  "Environment :: Console",
  "Intended Audience :: System Administrators",
  "Topic :: System :: Archiving :: Backup",
  "Topic :: System :: Monitoring",
]
keywords = ["prometheus", "borgmatic", "borg", "backup", "monitoring", "exporter"]

[project.scripts]
prometheus-borgmatic-exporter = "prometheus_borgmatic_exporter:prometheus_borgmatic_exporter"

[dependency-groups]
dev = [
    "pyright>=1.1.409",
    "ruff>=0.15.12",
]

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.version]
path = "prometheus_borgmatic_exporter/__init__.py"

[tool.hatch.build.targets.wheel]
packages = ["prometheus_borgmatic_exporter"]

[tool.hatch.build.targets.sdist]
include = [
  "prometheus_borgmatic_exporter/",
  "contrib/prometheus-borgmatic-exporter.confd",
  "contrib/prometheus-borgmatic-exporter.service",
  "contrib/prometheus-borgmatic-exporter.timer",
  "LICENSES/",
  "README.md",
  "pyproject.toml"
]

[tool.ruff]
target-version = "py311"

[tool.ruff.format]
skip-magic-trailing-comma = true

[tool.pyright]
pythonVersion = "3.11"
typeCheckingMode = "strict"