-
Notifications
You must be signed in to change notification settings - Fork 12
/
pyproject.toml
54 lines (47 loc) · 1.17 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
[tool.poetry]
name = "hiroshi"
version = "0.3.0"
description = "Just a GPT4Free-based ChatGPT Telegram bot"
authors = ["Sergei Nagaev <nagaev.sv@gmail.com>"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
brotli = "^1.1.0"
g4f = "*"
loguru = "^0.7"
pydantic = {extras = ["dotenv"], version = "1.10.9"}
python-telegram-bot = {extras = ["job-queue", "socks"], version = "^21.0.1"}
redis = {extras = ["hiredis"], version = "5.0.7"}
curl-cffi = "^0.7.0"
[tool.poetry.group.dev.dependencies]
black = "^23.1.0"
flake8 = "^6.0.0"
isort = "^5.12.0"
mypy = "^1.1.1"
[tool.black]
line-length = 120
include = ".pyi?$"
[tool.isort]
profile = "black"
[tool.mypy]
python_version = "3.11"
check_untyped_defs = true
files = "**/*.py"
follow_imports = "silent"
ignore_missing_imports = true
show_column_numbers = true
strict = true
warn_redundant_casts = true
warn_unused_configs = true
warn_unused_ignores = true
allow_untyped_calls = true
plugins = [ "pydantic.mypy" ]
[tool.flake8]
ignore = "E203,E266,H106,H904"
max-line-length = 120
exit-zero = true
exclude = " .git,__pycache__ "
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"