-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
53 lines (45 loc) · 1.3 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
[tool.poetry]
name = "JianshuResearchTools"
version = "2.11.0"
description = "科技赋能创作星辰"
authors = ["yezi <[email protected]>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/FHU-yezi/JianshuResearchTools"
keywords = ["jianshu", "SDK"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Typing :: Typed",
"Programming Language :: Python :: 3"
]
packages = [
{ include = "JianshuResearchTools" },
{ include = "README.md" },
]
[tool.poetry.dependencies]
python = "^3.7"
lxml = "^4.9.2"
httpx = { version = "^0.24.0", extras = ["http2"] }
tomd = { version = "^0.1.3", optional = true }
ujson = { version = "^5.7.0", optional = true }
[tool.poetry.group.dev.dependencies]
ruff = "^0.0.261"
pyright = "^1.1.303"
black = "^23.3.0"
pyyaml = "^6.0"
pytest = "^7.3.1"
pytest-xdist = "^3.2.1"
pytest-cov = "^4.0.0"
[tool.poetry.extras]
md-convert = ["tomd"]
high-perf = ["ujson"]
full = ["tomd", "ujson"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
select = ["A", "ANN", "B", "C", "E", "F", "I", "RET", "S", "SIM", "UP", "W"]
ignore = ["ANN101", "ANN102", "ANN401", "C901", "E501", "S101", "S104"]
target-version = "py38"