-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathpyproject.toml
70 lines (61 loc) · 1.52 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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "tg-signer"
dynamic = ["version"]
description = "Telegram signer"
authors = [
{ name = "Amchii", email = "[email protected]" }
]
license = { text = "BSD 3-Clause License" }
readme = "README.md"
requires-python = ">=3.9"
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3 :: Only"
]
dependencies = [
"kurirogram",
"click",
"pydantic",
"openai",
"croniter"
]
[project.urls]
Homepage = "https://github.com/amchii/tg-signer"
Repository = "https://github.com/amchii/tg-signer"
[project.optional-dependencies]
tgcrypto = [
"tgcrypto"
]
speedup = [
"tgcrypto"
]
[project.scripts]
tg-signer = "tg_signer.__main__:signer"
[tool.setuptools]
include-package-data = true
[tool.setuptools.dynamic]
version = { attr = "tg_signer.__version__" }
[tool.setuptools.packages.find]
exclude = ["tests*"]
[tool.ruff]
line-length = 88
src = ["src", "tests"]
[tool.ruff.lint]
extend-select = [
"I", # isort
"B", # flake8-bugbear
"W", # pycodestyle
"C4", # flake8-comprehensions
]
ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"C901", # too complex
"W191", # indentation contains tabs
"B019", # Use of `functools.lru_cache` or `functools.cache` on methods can lead to memory leaks
"B904" # raise without from inside except
]