forked from snoozeweb/snooze
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
99 lines (87 loc) · 2.32 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[tool.poetry]
name = "snooze-server"
version = "1.6.0"
description = "Monitoring tool for logs aggregation and alerting"
authors = [
"Florian Dematraz <florian.dematraz@snoozeweb.net>",
"Guillaume Ludinard <guillaume.ludi@gmail.com>",
]
license = "AGPL-3.0-or-later"
readme = "README.md"
packages = [
{ include = "snooze" },
]
[tool.poetry.scripts]
snooze-server = "snooze.__main__:main"
snooze = "snooze.cli.__main__:snooze"
check_snooze_server = "snooze.cli.health:check_snooze_server"
[tool.poetry.dependencies]
python = "^3.8"
click = "^8.0.1"
falcon = "^3.1.0"
Jinja2 = "^3.0.1"
ldap3 = "^2.9.1"
MarkupSafe = "^2.0.1"
pathlib = "^1.0.1"
prometheus-client = "^0.13.1"
PyJWT = "^2.3.0"
pymongo = "3.12.1"
pyparsing = "^2.4.7"
python-dateutil = "^2.8.2"
PyYAML = "5.4.1"
requests-unixsocket = "^0.2.0"
requests = "^2.26.0"
tinydb = "4.5.2"
waitress = "^2.0.0"
netifaces = "^0.11.0"
kombu = "^5.1.0"
pydantic = "^1.9.0"
tenacity = "^8.0.1"
filelock = "^3.7.0"
python-json-logger = "^2.0.4"
opentelemetry-api = "^1.14.0"
opentelemetry-sdk = "^1.14.0"
opentelemetry-exporter-otlp = "^1.14.0"
opentelemetry-instrumentation-falcon = "*"
opentelemetry-instrumentation-logging = "*"
opentelemetry-instrumentation-pymongo = "*"
[tool.poetry.group.lint.dependencies]
pylint = "^2.11.1"
pyright = "^1.1.238"
pylint-pydantic = "^0.1.4"
[tool.poetry.group.security.dependencies]
bandit = "^1.7.0"
[tool.poetry.group.test.dependencies]
pytest = "^6.2.5"
pytest-cov = "^2.12.1"
pytest-data = "^0.4"
pytest-mongodb = "^2.2.0"
pytest-spec = "^3.2.0"
python-mimeparse = "^1.6.0"
pytest-sugar = "^0.9.4"
pytest-timeout = "^1.4.2"
freezegun = "^1.1.0"
responses = "^0.20.0"
[tool.poetry.group.build.dependencies]
virtualenv = "^20.8.1"
invoke = "^1.6.0"
toml = "^0.10.2"
Sphinx = "^4"
sphinx-book-theme = "^0.3.2"
[tool.pylint.MASTER]
load-plugins = ['pylint_pydantic']
extension-pkg-whitelist = ['falcon', 'netifaces', 'pydantic']
[tool.pylint."MESSAGE CONTROL"]
disable = ['no-else-return', 'too-few-public-methods']
[tool.pylint.FORMAT]
max-line-length = 120
[tool.pyright]
typeCheckingMode = "strict"
[tool.pytest.ini_options]
testpaths = "tests"
log_level = "DEBUG"
log_cli_format = "%(asctime)s %(name)-20s %(levelname)-8s %(message)s"
log_date_format = "%Y-%m-%d %H:%M:%S"
[build-system]
requires = ["poetry-core>=1.1.0a6"]
build-backend = "poetry.core.masonry.api"