-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
95 lines (85 loc) · 2.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[project]
name = "ipush"
version = "0.6.0"
description = "向 APP、微信平台推送通知。支持 Telegram、钉钉群、飞书群、企业微信群、Lark 群、Bark 等平台。"
authors = [
{ name = "Jetsung Chan", email = "[email protected]" }
]
dependencies = [
"requests>=2.31.0",
"lxml>=5.3.0",
]
readme = "README.md"
keywords = ["push", "notify", "telegram", "dingtalk", "feishu", "wechat", "lark", "bark", "chanify", "pushdeer", "pushplus", "showdoc", "xizhi"]
requires-python = ">= 3.9"
license = { text = "Apache-2.0" }
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: Chinese (Simplified)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Communications :: Email',
'Topic :: Software Development :: Libraries',
]
[project.urls]
Homepage = "https://git.jetsung.com/idev/pypush"
Documentation = "https://pypush.skiy.net/"
Repository = "https://github.com/idevsig/pypush"
Download = "https://github.com/idevsig/pypush/releases"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.rye]
managed = true
dev-dependencies = [
"ruff>=0.1.9",
"pre-commit>=4.0.1",
"pytest>=8.3.4",
]
[tool.rye.scripts]
# unittest = { cmd = "python -m unittest discover tests" }
tests = { cmd = "python -m pytest" }
format = { cmd = "python -m ruff format ." }
check = { cmd = "python -m ruff check . --fix" }
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/ipush"]
[tool.pytest.ini_options]
testpaths = ["tests"]
filterwarnings = [
"error",
]
[tool.ruff]
src = ["src"]
fix = true
show-fixes = true
# line-length = 100
[tool.ruff.format]
quote-style = "single"
# indent-style = "tab"
docstring-code-format = true
[tool.ruff.lint]
select = [
"B", # flake8-bugbear
"E", # pycodestyle error
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"W", # pycodestyle warning
]
ignore = ["E501"]
[tool.ruff.lint.isort]
force-single-line = true
order-by-type = false