-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
54 lines (48 loc) · 1.14 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
[build-system]
build-backend = "pdm.pep517.api"
requires = ["pdm-pep517>=1.0.0"]
[project]
authors = [
{name = "Andy Qin", email = "[email protected]"},
]
dependencies = [
"madoka>=0.7.1",
]
description = "Pond is a high performance object-pooling library for Python."
license = {file = "LICENSE"}
name = "pondpond"
readme = "README.md"
requires-python = ">=3.8"
version = "1.4.1"
[project.urls]
"Blog" = "https://qin.news"
"Bug Tracker" = "https://github.com/t-baby/pond/issues"
"Homepage" = "https://github.com/t-baby/pond"
[project.optional-dependencies]
[tool.pdm.build]
excludes = [
"/tests",
]
includes = [
"pond/*.py",
"pond/*.typed",
"pond-stubs/*.pyi",
]
source-includes = [
"tests/",
]
[tool.pdm]
[tool.pdm.dev-dependencies]
dev = [
"pytest>=7.2.0",
"pytest-ordering>=0.6",
"pytest-asyncio>=0.20.1",
"pytest-cov>=4.0.0",
"black>=22.10.0",
"mypy>=0.990",
"isort>=5.10.1",
]
[tool.pdm.scripts]
format.shell = "black . && isort . && mypy . --config-file mypy.ini"
test.shell = "pytest -s ./tests"
stubgen.shell = "rm -r ./pond-stubs && stubgen ./pond -o ./out && cp -r ./out/pond ./pond-stubs && rm -r ./out"