Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
60 lines (51 loc) · 1.46 KB
/
Copy pathpyproject.toml
File metadata and controls
60 lines (51 loc) · 1.46 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
[project]
name = "rendezqueue"
version = "0.0.0"
description = "Client and server for a rendezqueue service that just swaps values."
license = { text = "0BSD" }
authors = [
{ name = "Alex Klinkhamer", email = "about.rendezqueue@grencez.dev" }
]
dependencies = [
]
readme = "README.md"
requires-python = ">=3.9"
[project.urls]
Homepage = "https://github.com/rendezqueue/rendezqueue-py"
Repository = "https://github.com/rendezqueue/rendezqueue-py"
Issues = "https://github.com/rendezqueue/rendezqueue-py/issues"
[project.scripts]
rendezqueue-client = "rendezqueue.cli:main"
rendezqueue-swap = "rendezqueue.swap:main"
rendezqueue-server = "rendezqueue.server:run"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[dependency-groups]
dev = [
"pytest",
"ruff==0.15.22",
"sxpb @ git+https://github.com/sxproto/sxpb-py@75391a98928f345114d539ecab880dc292e0ea9d",
"ty==0.0.64",
]
[tool.pdm]
package-dir = "src"
[tool.pytest.ini_options]
addopts = [
"-q",
"--import-mode=importlib",
]
pythonpath = ["src", "test"]
testpaths = ["test"]
[tool.pdm.scripts]
check-format = "ruff check"
check-type = "ty check"
lint-sxpb = "sxpb-lint --ignore-file .gitignore"
tidy-python = "ruff format"
tidy-sxpb = "sxpb-tidy --ignore-file .gitignore"
tidy = {composite = ["tidy-python", "tidy-sxpb"]}
lint = {composite = ["check-format", "check-type", "lint-sxpb"]}
test = "pytest"
tidytest = {composite = ["tidy", "lint", "test"]}
[tool.ty.environment]
root = ["src", "test"]