-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (55 loc) · 1.91 KB
/
Copy pathpyproject.toml
File metadata and controls
65 lines (55 loc) · 1.91 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
# Root distribution and tooling config for kiban.
#
# Phase 2 supersedes the earlier "kiban is not a pip package" stance. The CI plane needs
# konjo-gates to import the real engine (lib, ledger, evals), and a subdirectory-only
# install of packages/konjo-gates-py cannot reach those sibling packages without
# duplicating them, which would break single-source-of-truth. So the whole repo is the
# installable distribution: it ships the engine together with the konjo-gates entry point
# and its eval cassettes. Consuming repos install this at a pinned ref (see
# templates/repo-ci.yml). The konjo-gates-rs / -js packages stay separate stubs.
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "kiban"
version = "0.3.0"
description = "Konjo foundation: quality gates and the decision ledger (CI plane)"
requires-python = ">=3.11"
license = { text = "MIT" }
dependencies = ["PyYAML>=6.0"]
[project.scripts]
konjo-gates = "konjo_gates_py.cli:main"
[tool.setuptools]
packages = [
"lib",
"lib.packs",
"lib.packs.lang",
"lib.packs.lang._base",
"lib.packs.lang.mlx",
"lib.packs.lang.python",
"lib.packs.lang.mojo",
"lib.packs.lang.rust",
"lib.packs.lang.typescript",
"lib.packs.longrun",
"ledger",
"evals",
"konjo_gates_py",
]
[tool.setuptools.package-dir]
konjo_gates_py = "packages/konjo-gates-py/src/konjo_gates_py"
[tool.setuptools.package-data]
evals = ["fixtures/**/*", "cassettes/*.json", "gen_fixtures/**/*"]
[tool.ruff]
line-length = 100
target-version = "py311"
extend-exclude = ["packages/konjo-gates-rs", "packages/konjo-gates-js", "scratch"]
[tool.ruff.lint]
select = ["E", "F", "I", "W", "UP", "B"]
[tool.mypy]
python_version = "3.11"
mypy_path = "."
ignore_missing_imports = true
warn_unused_ignores = false
exclude = ['packages/konjo-gates-rs', 'packages/konjo-gates-js', 'scratch']
[tool.pytest.ini_options]
testpaths = ["tests"]