-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
88 lines (77 loc) · 2.13 KB
/
Copy pathpyproject.toml
File metadata and controls
88 lines (77 loc) · 2.13 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[build-system]
requires = ["hatchling==1.32.0"]
build-backend = "hatchling.build"
[project]
name = "affect-kernel"
version = "0.1.0"
description = "Deterministic affect-state kernel for long-lived AI characters, with injected adapters"
readme = "README.md"
requires-python = ">=3.11"
license = "Apache-2.0"
license-files = ["LICENSE"]
authors = [{ name = "Chang Chia Wei" }]
keywords = [
"affect",
"appraisal",
"emotion",
"pad",
"occ",
"memory",
"agent",
"companion",
"npc",
"character",
]
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Typing :: Typed",
]
dependencies = []
[project.urls]
Homepage = "https://github.com/kevindechang/affect-kernel"
Repository = "https://github.com/kevindechang/affect-kernel"
Issues = "https://github.com/kevindechang/affect-kernel/issues"
Changelog = "https://github.com/kevindechang/affect-kernel/blob/main/CHANGELOG.md"
Documentation = "https://github.com/kevindechang/affect-kernel/tree/main/docs"
[project.optional-dependencies]
dev = [
"build>=1.2",
"check-wheel-contents>=0.6",
"editables>=0.3",
"hatchling==1.32.0",
"mypy>=1.15",
"pytest>=8.3",
"pytest-cov>=6.0",
"ruff>=0.9",
"twine>=6.2",
]
[tool.hatch.build.targets.wheel]
packages = ["src/affect_kernel"]
[tool.hatch.build.targets.sdist.force-include]
"../shared/golden/kernel_golden.json" = "tests/fixtures/kernel_golden.json"
"../shared/golden/continuity_traces.json" = "tests/fixtures/continuity_traces.json"
[tool.pytest.ini_options]
addopts = "--strict-markers --strict-config"
pythonpath = ["src"]
testpaths = ["tests"]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM", "RUF"]
ignore = ["E741"] # O is the conventional Big Five openness field.
[tool.mypy]
python_version = "3.11"
strict = true
files = ["src"]
[tool.coverage.run]
branch = true
source = ["affect_kernel"]
[tool.coverage.report]
fail_under = 80
show_missing = true