diff options
Diffstat (limited to '')
| -rw-r--r-- | pyproject.toml | 44 |
1 files changed, 31 insertions, 13 deletions
diff --git a/pyproject.toml b/pyproject.toml index 98052a9..774b645 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,28 +6,43 @@ name = "prometheus-borgmatic-exporter" dynamic = ["version"] description = "Collect borgmatic repository metrics and export them for Prometheus." -license = "BSD-3-Clause" +readme = "README.md" +requires-python = ">=3.12" + +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.12" -dependencies = [ - "click-extra>=9.1.0", - "prometheus-client>=0.26.0", + +keywords = [ + "prometheus", + "borgmatic", + "borg", + "backup", + "monitoring", + "exporter", ] classifiers = [ "Development Status :: 5 - Production/Stable", + "Environment :: Console", + "Intended Audience :: System Administrators", "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "Environment :: Console", - "Intended Audience :: System Administrators", + "Programming Language :: Python :: 3.14", "Topic :: System :: Archiving :: Backup", "Topic :: System :: Monitoring", ] -keywords = ["prometheus", "borgmatic", "borg", "backup", "monitoring", "exporter"] + +dependencies = [ + "click-extra>=9.1.0", + "prometheus-client>=0.26.0", +] + +import-names = ["prometheus_borgmatic_exporter"] [project.urls] Repository = "https://git.dennisfink.me/prometheus-borgmatic-exporter/" @@ -37,12 +52,12 @@ prometheus-borgmatic-exporter = "prometheus_borgmatic_exporter:prometheus_borgma [dependency-groups] dev = [ - "pyright>=1.1.411", - "ruff>=0.16.6", + "pyright>=1.1.411", + "ruff>=0.16.6", ] [build-system] -requires = ["hatchling"] +requires = ["hatchling>=1.30.0"] build-backend = "hatchling.build" [tool.hatch.version] @@ -59,8 +74,11 @@ include = [ "contrib/prometheus-borgmatic-exporter.timer", "LICENSES/", "README.md", - "pyproject.toml" + "pyproject.toml", ] [tool.ruff.format] skip-magic-trailing-comma = true + +[tool.pyright] +pythonVersion = "3.12" |
