forked from zawsq/Teleshare
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
63 lines (52 loc) · 1.21 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
[tool.poetry]
name = "Teleshare"
version = "0.1.0"
description = "A efficient and fast telegram file sharing bot."
authors = ["zawsq"]
license = "GPL-3.0 license"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
tzdata = "^2024.1"
pyrogram = { git = "https://github.com/KurimuzonAkuma/pyrogram.git", rev = "v2.1.22" }
tgcrypto = "1.2.5"
apscheduler = "3.10.4"
rich = "13.7.1"
lru-dict = "1.3.0"
pydantic = "2.8.2"
pydantic-settings = "2.3.4"
motor = "3.6.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[project]
name = "Teleshare"
requires-python = ">=3.10"
[tool.ruff]
line-length = 120
src = ["bot"]
namespace-packages = [
"bot/plugins/**",
"bot/plugins/"
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"CPY001", # copyright above code
"ANN101", # self annotations
"ANN102", # cls annotations
"D", # sphinx not support
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = [
"S101", # assert in tests
]
[tool.pyright]
include = ["bot","tests"]
pythonVersion = "3.10"
pythonPlatform = "all"
strictListInference = true
strictDictionaryInference = true
strictSetInference = true