-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
53 lines (46 loc) · 1.67 KB
/
Copy pathpyproject.toml
File metadata and controls
53 lines (46 loc) · 1.67 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
[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[project]
name = "mandrel"
version = "2.3.0"
description = "Canonical deployment tooling for AI-native coding protocol assets."
readme = "README.md"
license = "Apache-2.0"
license-files = ["LICENSE"]
requires-python = ">=3.11"
dependencies = []
[project.optional-dependencies]
test = ["pytest>=8"]
# Everything scripts/check.sh needs, so one install makes the whole gate
# runnable. The lint and build tools are pinned: their output decides
# pass/fail, and an unpinned upgrade would change the verdict without a commit.
dev = [
"pytest>=8,<10",
"ruff==0.16.2",
"shellcheck-py==0.11.0.1",
"build==1.5.0",
# >= 77 understands PEP 639 `license`/`license-files`; older releases
# reject the SPDX string outright, and the gate runs `build --no-isolation`
# against whatever setuptools the interpreter already has.
"setuptools>=77",
"wheel",
]
[project.scripts]
mandrel = "mandrel.cli:main"
[tool.pytest.ini_options]
# canonical/orchestrator/test_loop_mock.py is named like a pytest module but is
# a standalone script with its own main(); it stays outside testpaths and is run
# by scripts/check.sh instead.
testpaths = ["tests"]
pythonpath = ["."]
[tool.ruff]
extend-exclude = [".venv", "canonical/orchestrator/logs"]
[tool.ruff.lint]
# Ruff's default rules: pyflakes plus the pycodestyle errors that flag real
# defects. Style-only rules stay off — this gate exists to catch bugs, not to
# reformat a codebase that has its own conventions (.ai/conventions.md).
select = ["E4", "E7", "E9", "F"]
[tool.setuptools.packages.find]
include = ["mandrel*"]
exclude = ["canonical*", "tests*"]