-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
71 lines (63 loc) · 1.6 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
[project]
name = "graiax-text2img-playwright"
version = "0.5.0"
description = "基于 Playwright 的适用于 Graia 的文转图工具"
authors = [
{name = "Redlnn", email = "[email protected]"},
{name = "BlueGlassBlock", email = "[email protected]"}
]
dependencies = [
"graiax-playwright>=0.4.1",
"markdown-it-py[linkify,plugins]>=3.0.0",
"pygments>=2.17.2",
"mdit-py-emoji>=0.1.1",
]
keywords = ["graia", "graiax", "text2img", "playwright"]
requires-python = ">=3.10"
readme = "README.md"
license = {text = "MIT"}
classifiers = [
"Typing :: Typed",
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
[project.urls]
repository = "https://github.com/GraiaCommunity/graiax-text2img-playwright"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool]
[tool.pdm]
[tool.pdm.dev-dependencies]
dev = [
"flake8>=6.1.0",
"black>=23.12.0",
"isort>=5.13.2",
]
[tool.pdm.build]
package-dir = "src"
includes = ["src/graiax"]
[tool.black]
line-length = 120
target-version = ["py310", "py311", "py312"]
[tool.isort]
profile = "black"
[tool.ruff]
line-length = 120
target-version = "py310"
select = [
# https://beta.ruff.rs/docs/rules
"E", # pycodestyle
"F", # pyflakes
"UP", # pyupgrade
# "I", # isort
# "D", # pydocstyle
"ASYNC", # flake8-async
]
exclude = [".git", ".venv", "__pypackages__", "dist"]
ignore = ["F401"]
[tool.ruff.pydocstyle]
convention = "google"