-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
59 lines (50 loc) · 1.17 KB
/
pyproject.toml
File metadata and controls
59 lines (50 loc) · 1.17 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
[project]
name = "lorekit"
version = "0.1.0"
description = "MCP-based TTRPG game engine"
requires-python = ">=3.13"
license = "Apache-2.0"
dependencies = [
"lorekit-cruncher",
"mcp[cli]",
"sqlite-vec",
"sentence-transformers",
"platformdirs",
]
[project.optional-dependencies]
dev = [
"ruff",
"pytest",
"pytest-cov",
"pre-commit",
"pytest-asyncio",
]
server = [
"starlette",
"uvicorn",
]
[project.scripts]
lorekit = "lorekit.http_server:main"
[tool.uv.sources]
lorekit-cruncher = { path = "cruncher/" }
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/lorekit"]
[tool.ruff]
target-version = "py313"
line-length = 120
[tool.ruff.lint]
select = ["E", "F", "W", "I"]
ignore = [
"E501", # line too long — handled by formatter
"E741", # ambiguous variable name (l, O, I)
"F401", # unused import — false positives with lazy imports
"F841", # unused variable — false positives in test setup code
]
[tool.ruff.lint.isort]
known-first-party = ["lorekit", "cruncher"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--no-header -q"