-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
59 lines (51 loc) · 1.15 KB
/
pyproject.toml
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
[tool.poetry]
name = "pingdat"
version = "1.5.2"
description = "A simple ping exporter for Prometheus metrics."
authors = ["jheddings <[email protected]>"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.9"
requests = "^2.32.3"
click = "^8.1.8"
prometheus-client = "^0.21.1"
pydantic = "^2.10.6"
pyyaml = "^6.0.2"
ping3 = "^4.0.8"
[tool.poetry.group.dev.dependencies]
pre-commit = "^4.1.0"
GitPython = "^3.1.44"
pytest = "^8.3.5"
coverage = "^7.6.12"
ruff = "^0.9.10"
black = "^25.1.0"
[tool.poetry.scripts]
pingdat = "pingdat.__main__:main"
[tool.black]
line_length = 88
[tool.isort]
profile = "black"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"C", # flake8-comprehensions
"B", # flake8-bugbear
"G", # flake8-logging-format
"RET", # flake8-return
"N", # pep8-naming
"ERA", # eradicate
"UP", # pyupgrade
]
ignore = [
"E501", # line-too-long
]
[tool.pytest.ini_options]
markers = [
"network: tests that require an active network",
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"