aboutsummaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
authorDennis Fink2026-09-06 23:24:20 +0200
committerDennis Fink2026-09-06 23:24:20 +0200
commit8fedec6a333d089e4f73838333773c74bd74e515 (patch)
tree9402581ae393c2ff6d0bba45a9c9dcabb490c079 /pyproject.toml
parent66d0fadd5e364eb8fceb39e8061cd93a01e9f210 (diff)
downloadprometheus-borgmatic-exporter-8fedec6a333d089e4f73838333773c74bd74e515.tar.gz
prometheus-borgmatic-exporter-8fedec6a333d089e4f73838333773c74bd74e515.zip
refactor(cli): extract helpers and improve option handling
Move shared CLI output helpers into a dedicated module to keep the main exporter module focused on metric collection. Also simplify the command-line option definitions, add missing help text, and allow --color values to be passed with or without an equals sign.
Diffstat (limited to '')
-rw-r--r--pyproject.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 2108223..0bffd85 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -59,6 +59,9 @@ include = [
[tool.ruff]
target-version = "py311"
+[tool.ruff.format]
+skip-magic-trailing-comma = true
+
[tool.pyright]
pythonVersion = "3.11"
typeCheckingMode = "strict"