-
-
Notifications
You must be signed in to change notification settings - Fork 31
/
pyproject.toml
69 lines (63 loc) · 1.14 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
[tool.poetry]
authors = ["Fedor Borshev <[email protected]>"]
description = ""
name = "selfmailbot"
readme = "README.md"
version = "2024.01.10"
[tool.poetry.dependencies]
celery = "~5.3.6"
flask = {extras = ["async"], version = "^3.0.0"}
peewee = "~3.17.0"
pystmark = "~0.5.3"
python = "~3.12"
python-dotenv = "^1.0.0"
python-telegram-bot = "^20.7"
redis = "^5.0.1"
sentry-sdk = "~1"
uvicorn = "^0.34.0"
[tool.poetry.group.dev.dependencies]
ipython = "^8.19.0"
mypy = "^1.8.0"
ruff = "^0.5.0"
toml-sort = "^0.24.0"
watchdog = {extras = ["watchmedo"], version = "^3.0.0"}
[tool.ruff]
line-length = 160
[tool.ruff.lint]
fixable = ["ALL"]
ignore = [
"A002",
"A003",
"ANN",
"ARG",
"COM812",
"D",
"D211",
"D213",
"EM101",
"FA102",
"ISC001",
"N818",
"PLR2004",
"PLW1508",
"PT",
"S101",
"S104",
"S701",
]
select = ["ALL"]
[tool.ruff.per-file-ignores]
"tests/*.py" = [
"ANN",
"D",
"PLR",
"RET",
"S",
]
[tool.tomlsort]
all = true
in_place = true
sort_first = ["tool.poetry"]
spaces_before_inline_comment = 2
spaces_indent_inline_array = 4
trailing_comma_inline_array = true