-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
123 lines (109 loc) · 3.36 KB
/
pyproject.toml
File metadata and controls
123 lines (109 loc) · 3.36 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
[project]
name = "ipman-cli"
dynamic = ["version"]
description = "Intelligence Package Manager - Agent skill virtual environment manager"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.10"
authors = [
{ name = "twisker" },
]
keywords = ["agent", "skill", "virtual-environment", "package-manager", "cli"]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Software Distribution",
]
dependencies = [
"click>=8.1",
"pyyaml>=6.0",
]
[dependency-groups]
dev = [
"pytest>=8.0",
"pytest-cov>=5.0",
"ruff>=0.8",
"mypy>=1.13",
"types-PyYAML>=6.0",
]
docs = [
"mkdocs>=1.6",
"mkdocs-material>=9.5",
"mkdocs-click>=0.8",
]
e2e = [
"pytest-timeout>=2.2",
"pytest-rerunfailures>=14",
]
[project.scripts]
ipman = "ipman.cli.main:cli"
[project.urls]
Homepage = "https://github.com/twisker/ipman"
Repository = "https://github.com/twisker/ipman"
Issues = "https://github.com/twisker/ipman/issues"
Documentation = "https://twisker.github.io/ipman"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "VERSION"
pattern = "(?P<version>.+)"
[tool.hatch.build.targets.wheel]
packages = ["src/ipman"]
# ─── ruff ───────────────────────────────────────
[tool.ruff]
target-version = "py310"
line-length = 88
src = ["src", "tests"]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["E501"]
"src/ipman/utils/i18n.py" = ["RUF001"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
"RUF", # ruff-specific
]
[tool.ruff.lint.isort]
known-first-party = ["ipman"]
# ─── mypy ───────────────────────────────────────
[tool.mypy]
python_version = "3.10"
strict = true
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
[[tool.mypy.overrides]]
module = "tests.*"
disallow_untyped_defs = false
# ─── pytest ─────────────────────────────────────
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --tb=short"
markers = [
"e2e: All E2E tests",
"platform: Layer 1 platform integration tests",
"agent_cli: Layer 2 agent CLI integration tests",
"agent_session: Layer 3 agent session tests",
"publish: Publish workflow tests",
"symlink: Symlink-specific tests",
"slow: Tests taking > 30s",
"requires_clawhub: Tests requiring real clawhub CLI on PATH",
"network: Tests requiring real network access (hit GitHub raw URLs)",
"performance: Performance benchmark tests (timing assertions against spec thresholds)",
]