Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (61 loc) · 1.71 KB
/
Copy pathpyproject.toml
File metadata and controls
69 lines (61 loc) · 1.71 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
[build-system]
requires = ["hatchling>=1.18"]
build-backend = "hatchling.build"
[project]
name = "gate-knowledge"
version = "1.0.0"
description = "GATE v1.4 conceptual layer as an OKF v0.1 conformant knowledge bundle."
readme = "README.md"
requires-python = ">=3.11"
license = { text = "CC-BY-4.0" }
authors = [
{ name = "Andrew Stevens", email = "andrew@deterministicagents.ai" },
]
keywords = [
"gate",
"deterministic-agents",
"ai-governance",
"okf",
"knowledge-bundle",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Documentation",
"Topic :: Software Development :: Documentation",
]
dependencies = [
"pyyaml>=6.0.1",
]
[project.optional-dependencies]
dev = [
"yamllint>=1.35.0",
"pytest>=8.0.0",
"pytest-cov>=4.1.0",
"ruff>=0.4.0",
]
# Note: markdownlint-cli2 is a Node.js tool installed separately via npm
# or invoked via npx. It is NOT a Python dependency; CI installs it via
# `npm install -g markdownlint-cli2`.
[project.scripts]
gate-knowledge-validate = "tools.validate:main"
[tool.pytest.ini_options]
testpaths = ["tools"]
python_files = ["test_*.py"]
addopts = "-ra --strict-markers"
markers = [
"validator: gate-knowledge OKF + W9 conformance validator tests",
"positive: fixture exercising a check's pass path",
"negative: fixture exercising a check's fail path",
]
[tool.yamllint]
extends = "default"
rules = {document-start = "disable", line-length = {max = 200}}
[tool.ruff]
line-length = 100
target-version = "py311"