Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
78 lines (70 loc) 路 1.5 KB
/
Copy pathpyproject.toml
File metadata and controls
78 lines (70 loc) 路 1.5 KB
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
[tool.poetry]
name = "prometheus-todoist-exporter"
version = "1.2.0"
description = "A Prometheus exporter for Todoist"
authors = ["echohello-dev <devs@echohello.dev>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/echohello-dev/prometheus-todoist-exporter"
keywords = ["prometheus", "todoist", "exporter", "metrics"]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
[tool.poetry.dependencies]
python = "^3.13"
prometheus-client = "^0.21.1"
todoist-api-python = "^2.1.7"
requests = "^2.31.0"
[tool.poetry.group.dev.dependencies]
pytest = "^9.0.0"
pytest-mock = "^3.14.0"
ruff = "^0.11.2"
pre-commit = "^4.0.0"
[tool.poetry.scripts]
todoist-exporter = "prometheus_todoist_exporter.exporter:main"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff.lint]
select = [
"E",
"F",
"I",
"B",
"C90",
"N",
"UP",
"ANN",
"S",
"BLE",
"A",
"C4",
"T10",
"EXE",
"ISC",
"ICN",
"G",
"PIE",
"T20",
"PT",
"Q",
"RSE",
"SIM",
"ARG",
"ERA",
"PL",
"TRY",
"RUF",
]
ignore = ["T201", "BLE001", "C901", "PLR0915"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"tests/**/*.py" = ["S101", "ANN"]
[tool.ruff.lint.isort]
known-first-party = ["prometheus_todoist_exporter"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "auto"