mirror of
https://github.com/NohamR/prometheus-qbittorrent-exporter.git
synced 2025-05-23 08:39:30 +00:00

* Added unit tests and linting tools for development * Added pre-commit config file * Added lint github action * Add tests and coverage comments to PRs * Set coverage options * Fixed yaml * Fixed permissions * Omit tests in coverage report * Run linting only on PRs
37 lines
922 B
TOML
37 lines
922 B
TOML
[project]
|
|
name = "prometheus-qbittorrent-exporter"
|
|
version = "1.4.0"
|
|
description = "Prometheus exporter for qbittorrent"
|
|
authors = [
|
|
{name = "Esteban Sanchez", email = "esteban.sanchez@gmail.com"},
|
|
]
|
|
dependencies = [
|
|
"prometheus-client>=0.17.1",
|
|
"python-json-logger>=2.0.7",
|
|
"qbittorrent-api>=2023.9.53",
|
|
]
|
|
requires-python = ">=3.11"
|
|
readme = "README.md"
|
|
keywords = ["prometheus", "qbittorrent"]
|
|
license = {text = "GPL-3.0"}
|
|
classifiers = []
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/esanchezm/prometheus-qbittorrent-exporter"
|
|
Downloads = "https://github.com/esanchezm/prometheus-qbittorrent-exporter/archive/1.4.0.tar.gz"
|
|
|
|
[project.scripts]
|
|
qbittorrent-exporter = "qbittorrent_exporter.exporter:main"
|
|
|
|
[build-system]
|
|
requires = ["pdm-backend"]
|
|
build-backend = "pdm.backend"
|
|
|
|
[tool.pdm.dev-dependencies]
|
|
dev = [
|
|
"pytest>=7.4.3",
|
|
"isort>=5.12.0",
|
|
"black>=23.11.0",
|
|
"coverage>=7.3.2",
|
|
]
|