-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
71 lines (59 loc) · 1.72 KB
/
pyproject.toml
File metadata and controls
71 lines (59 loc) · 1.72 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
[tool.poetry]
name = "electro"
version = "0.12.2"
description = "A framework for building bots, made for humans."
authors = ["Mykola Solodukha <mykola@mykolasolodukha.me>"]
readme = "README.md"
packages = [
{ include = "electro", from = "." },
]
[tool.poetry.dependencies]
python = "^3.12"
stringcase = "^1.2.0"
loguru = "^0.7.2"
openai = "^1.36.0"
pydantic-settings = "^2.3.4"
pydantic = "^2.8.2"
dj-redis-url = "^0.1.4"
redis = "^5.0.7"
tortoise-orm = {extras = ["asyncpg"], version = "^0.21.5"}
aerich = "^0.7.2"
tenacity = "^8.5.0"
aioboto3 = "^13.1.1"
azure-storage-blob = "^12.23.1"
azure-identity = "^1.18.0"
fastapi = {extras = ["standard"], version = ">=0.115.5,<1.0.0"}
pillow = "^12.1.1"
[tool.poetry.group.dev.dependencies]
black = "^24.8.0"
isort = "^5.13.2"
pylint = "^3.2.6"
sphinx = "^8.2.0"
sphinx-rtd-theme = "^3.0.2"
autodoc-pydantic = "^2.2.0"
sphinx-autodoc-typehints = "^3.0.1"
[tool.black]
line-length = 120
target-version = ["py312"]
verbose = false
skip-string-normalization = false
[tool.isort]
profile = "black"
line_length = 120
src_paths = ["electro"]
sections = ['FUTURE', 'STDLIB', 'THIRDPARTY', 'FIRSTPARTY', 'LOCALFOLDER']
known_first_party = ["electro"]
filter_files = true
force_alphabetical_sort_within_sections = true
[tool.pylint.main]
max-line-length = 120 # the maximum length of a line
disable = ["fixme"] # ignore TODOs and FIXMEs
source-roots = ["electro"] # the source roots for pylint to check
ignore-patterns = ["tests", "migrations"] # ignore the tests and migrations folders
[tool.aerich]
tortoise_orm = "electro.toolkit.tortoise_orm.TORTOISE_ORM_CONFIG"
location = "./migrations"
src_folder = "./../electro"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"