-
Notifications
You must be signed in to change notification settings - Fork 216
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (78 loc) · 2.06 KB
/
pyproject.toml
File metadata and controls
89 lines (78 loc) · 2.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[project]
name = "mini-shop-server"
description = "构建微信小程序(商城)后端 - 基于 Flask 框架"
authors = [{ name = "Allen7D", email = "bodanli159951@gmail.com" }]
license = { text = "MIT" }
readme = "README.md"
requires-python = ">=3.8"
keywords = ["flask", "wechat", "restful api"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Framework :: Flask",
]
dynamic = ["version"]
dependencies = [
"flask==2.0.3",
"PyMySQL>=1.1.0",
"flask-sqlalchemy==2.5.1",
"sqlalchemy==1.4.46",
"flask-httpauth==4.7.0",
"flask-wtf==1.1.1",
"flask-cors==3.0.10",
"requests==2.31.0",
"wechatpy==1.8.18",
"gunicorn==21.2.0",
"email-validator==2.1.0",
"psutil==5.9.6",
"qiniu==7.12.1",
"cachelib==0.10.2",
"itsdangerous==2.0.1",
"werkzeug==2.0.3",
"jinja2==3.1.6",
]
[project.optional-dependencies]
dev = [
"pylint==3.0.3",
"pytest==7.4.3",
"flasgger==0.9.5",
"flask-admin==1.6.1",
]
[project.urls]
Homepage = "https://github.com/Allen7D/mini-shop-server"
Repository = "https://github.com/Allen7D/mini-shop-server.git"
Issues = "https://github.com/Allen7D/mini-shop-server/issues"
Documentation = "https://github.com/Allen7D/mini-shop-server#readme"
[project.scripts]
mini-shop-server = "server:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "app/__init__.py"
[tool.hatch.build.targets.wheel]
packages = ["app"]
[tool.uv]
dev-dependencies = [
"pylint==3.0.3",
"pytest==7.4.3",
"flasgger==0.9.5",
"flask-admin==1.6.1",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --tb=short"
[tool.pylint.messages_control]
disable = [
"missing-module-docstring",
"missing-class-docstring",
"missing-function-docstring",
]
[tool.pylint.format]
max-line-length = 120