-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
117 lines (101 loc) · 3.1 KB
/
pyproject.toml
File metadata and controls
117 lines (101 loc) · 3.1 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
[project]
name = "agentrun-cli"
dynamic = ["version"]
description = "CLI for AgentRun — manage AI agent infrastructure from the command line"
readme = "README.md"
license = { text = "Apache-2.0" }
requires-python = ">=3.10"
keywords = ["agentrun", "cli", "ai-agent", "sandbox", "llm"]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries",
]
dependencies = [
"agentrun-sdk[core]>=0.0.34",
"pyyaml>=6.0",
"questionary>=2.0",
]
[project.scripts]
agentrun = "agentrun_cli.main:cli"
ar = "agentrun_cli.main:cli"
[project.urls]
Homepage = "https://github.com/Serverless-Devs/agentrun-cli"
Repository = "https://github.com/Serverless-Devs/agentrun-cli"
Issues = "https://github.com/Serverless-Devs/agentrun-cli/issues"
[dependency-groups]
dev = [
"pytest>=8.0.0", "pytest-cov>=6.0.0",
"pytest-asyncio>=1.2.0",
"pyinstaller>=6.0.0",
"ruff>=0.14.0",
"mypy>=1.11.0",
"types-PyYAML>=6.0",
"pip-audit>=2.7.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0", "pytest-cov>=6.0.0",
"pytest-asyncio>=1.2.0",
"pyinstaller>=6.0.0",
"ruff>=0.14.0",
"mypy>=1.11.0",
"types-PyYAML>=6.0",
"pip-audit>=2.7.0",
]
[tool.ruff]
line-length = 88
target-version = "py310"
exclude = ["src/agentrun_cli/_version.py"]
[tool.ruff.lint]
select = ["E", "F", "I", "W", "S", "B", "UP"]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["S101", "S105", "S108", "S603", "S607"]
[tool.mypy]
# Start permissive: only check annotated code. Tighten incrementally by
# flipping disallow_untyped_defs / strict once annotations are added.
python_version = "3.10"
files = ["src/agentrun_cli"]
ignore_missing_imports = true
follow_imports = "silent"
warn_redundant_casts = true
warn_unused_ignores = true
warn_unreachable = true
check_untyped_defs = false
[[tool.mypy.overrides]]
module = ["agentrun_cli._version"]
ignore_errors = true
[tool.pytest.ini_options]
testpaths = ["tests/unit", "tests/integration"]
addopts = "-v --tb=short"
[tool.coverage.run]
source = ["agentrun_cli"]
branch = true
[tool.coverage.report]
show_missing = true
fail_under = 0
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.",
"if TYPE_CHECKING:",
]
[build-system]
requires = ["setuptools>=64", "wheel", "setuptools-scm>=8"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
include = ["agentrun_cli*"]
# Version is derived from the git tag by setuptools-scm.
# - Tagged build (e.g. checked out at v0.2.0) → version == "0.2.0"
# - Untagged build (local dev / no tags yet) → fallback_version below.
# The generated _version.py is gitignored and imported by __init__.py.
[tool.setuptools_scm]
version_file = "src/agentrun_cli/_version.py"
fallback_version = "0.0.0+unknown"