-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
63 lines (54 loc) · 1.06 KB
/
Copy pathpyproject.toml
File metadata and controls
63 lines (54 loc) · 1.06 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
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "smzdm-notice"
version = "0.1.0"
description = "SMZDM good-deal notification bot with Feishu and LLM filtering."
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.9"
dependencies = [
"httpx",
"lark-oapi",
"loguru",
"openai",
"pydantic",
"python-dotenv",
"urllib3<2",
]
[project.optional-dependencies]
dev = [
"pyright",
"pytest",
"ruff",
]
[project.scripts]
smzdm-notice = "smzdm_notice.cli:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
[tool.ruff]
line-length = 120
target-version = "py39"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]
ignore = [
"E501",
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.pyright]
include = ["src"]
exclude = [
"**/__pycache__",
".venv",
"workspace",
]
venvPath = "."
venv = ".venv"
pythonVersion = "3.9"
typeCheckingMode = "basic"