-
-
Notifications
You must be signed in to change notification settings - Fork 812
/
pyproject.toml
73 lines (64 loc) · 1.48 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
[tool.poetry]
name = "tgcf"
version = "1.1.8"
description = "The ultimate tool to automate custom telegram message forwarding."
authors = ["aahnik <daw@aahnik.dev>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/aahnik/tgcf"
documentation = "https://github.com/aahnik/tgcf/wiki"
[tool.poetry.dependencies]
python = "^3.10"
requests = "^2.28.1"
typer = "^0.7.0"
python-dotenv = "^0.21.0"
pydantic = "^1.10.2"
Telethon = "1.26.0"
cryptg = "^0.4.0"
Pillow = ">=9.3,<11.0"
hachoir = "^3.1.3"
aiohttp = "^3.8.3"
tg-login = "^0.0.4"
"watermark.py" = "^0.0.3"
pytesseract = "^0.3.7"
rich = "^12.6.0"
verlat = "^0.1.0"
streamlit = "^1.15.2"
PyYAML = "^6.0"
pymongo = "^4.3.3"
[tool.poetry.dev-dependencies]
black = {version = "^22.10.0", allow-prereleases = true}
isort = "^5.10.1"
pre-commit = "^2.20.0"
[tool.poetry.scripts]
tgcf = 'tgcf.cli:app'
tgcf-web = 'tgcf.web_ui.run:main'
[tool.poetry.group.dev.dependencies]
ipykernel = "^6.17.0"
pylint = "^2.15.8"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
profile = "black"
[tool.black]
line-length = 88
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
| foo.py # also separately exclude a file named foo.py in
# the root of the project
)
'''