-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
70 lines (59 loc) · 1.59 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
[tool.poetry]
name = "olli"
version = "2.0.0"
description = "Olli searches your Loki logs and relays matching terms to Discord."
authors = ["Joe Banks <joseph@josephbanks.me>", "Chris Lovering <chris.lovering.95@gmail.com>"]
license = "MIT"
readme = "README.md"
# Links
homepage = "https://python-discord.github.io/olli/"
repository = "https://github.com/python-discord/olli"
documentation = "https://python-discord.github.io/olli/"
keywords = ["loki", "discord", "logs", "observability"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators"
]
[tool.poetry.dependencies]
python = "3.11.*"
httpx = "0.25.2"
loguru = "0.7.2"
pydantic = "2.5.2"
pydantic-settings = "2.1.0"
schedule = "1.2.1"
[tool.poetry.group.dev.dependencies]
pre-commit = "3.5.0"
ruff = "0.1.7"
taskipy = "1.12.2"
[tool.poetry.scripts]
olli = "olli.__main__:start"
[tool.taskipy.tasks]
lint = "pre-commit run --all-files"
precommit = "pre-commit install"
olli = "python -m olli"
[tool.ruff]
target-version = "py311"
extend-exclude = [".cache"]
select = ["ALL"]
ignore = [
"ANN002", "ANN003", "ANN101", "ANN102", "ANN401",
"ARG003",
"C901",
"CPY001",
"D100", "D104", "D105", "D107", "D203", "D212", "D214", "D215", "D416",
"EM101",
"PLR",
"TRY003",
]
line-length = 120
unsafe-fixes = true
preview = true
[tool.ruff.isort]
order-by-type = false
case-sensitive = true
combine-as-imports = true
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"