-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
executable file
·163 lines (149 loc) · 4.05 KB
/
pyproject.toml
File metadata and controls
executable file
·163 lines (149 loc) · 4.05 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
[project]
name = "ibmcloud-agents"
version = "0.1.0"
description = "IBMCloud Agents (A2A & MCP-compliant)"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"a2a-server @ file:///Users/chrism1/Code/ai/agentic/a2a/a2a-server",
"chuk-llm>=0.9.9",
"python-dotenv>=1.1.0",
"PyYAML>=6.0",
"types-PyYAML>=6.0",
]
# Optional dependency groups (development)
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"pytest-cov>=5.0.0",
"pytest-mock>=3.12.0",
"requests>=2.31.0",
"aiohttp>=3.9.0",
"boto3>=1.34.0",
]
test = [
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"pytest-cov>=5.0.0",
"pytest-mock>=3.12.0",
]
# Convenience meta-extras
#all = ["ibmcloud_agents"]
#dev-all = ["ibmcloud_agents[dev]"]
# --------------------------------------------------------------------
# Authors and URLs
# --------------------------------------------------------------------
[[project.authors]]
name = "Christopher C Mitchell"
email = "redacted@ibm.com"
[project.urls]
Homepage = "https://github.com/ccmitchellusa/ibmcloud-agents"
Documentation = "https://github.com/ccmitchellusa/ibmcloud-agents"
Repository = "https://github.com/ccmitchellusa/ibmcloud-agents"
"Bug Tracker" = "https://github.com/ccmitchellusa/ibmcloud-agents/issues"
Changelog = "https://github.com/ccmitchellusa/ibmcloud-agents/blob/main/CHANGELOG.md"
# --------------------------------------------------------------------
# 🔧 setuptools-specific configuration
# --------------------------------------------------------------------
[tool.setuptools]
include-package-data = true # ensure wheels include the data files
# Automatic discovery: keep every package that starts with "ibmcloud-agents"
[tool.setuptools.packages.find]
where = ["src"]
include = ["ibmcloud*", "supervisor_agent", "common"]
exclude = ["tests*"]
## Runtime data files ------------------------------------------------
# - py.typed -> advertises inline type hints (PEP 561)
# - static/* -> CSS/JS for the admin UI
# - templates -> Jinja2 templates shipped at runtime
#[tool.setuptools.package-data]
#ibmcloud-base-agent = [
# "py.typed",
#]
# --------------------------------------------------------------------
# 🛠 Tool configurations (black, mypy, etc.)
# --------------------------------------------------------------------
[tool.pytype]
# Directory-specific options:
inputs = ["src/ibmcloud*", "src/supervisor_agent", "src/common"]
python_version = "3.12" # match default runtime
[tool.check-manifest]
ignore = [
"docs/**",
"tests/**",
".github/**",
"Makefile",
]
[tool.black]
line-length = 200
target-version = ["py310", "py311", "py312"]
include = "\\.pyi?$"
[tool.isort]
profile = "black"
multi_line_output = 3
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
strict = true
show_error_codes = true
warn_unreachable = true
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q --cov=ibmcloud-agents"
testpaths = [ "tests",]
asyncio_mode = "auto"
# ── fawltydeps ─────────────────────────────────────────────────────
[tool.fawltydeps]
# only parse main pyproject.toml
deps = ["pyproject.toml"]
# ignore 'dev' extras so they won't show up in fawltydeps
ignore_unused = [
"autoflake",
"argparse-manpage",
"bandit",
"black",
"bump2version",
"check-manifest",
"code2flow",
"cookiecutter",
"coverage",
"coverage-badge",
"darglint",
"flake8",
"fawltydeps",
"gprof2dot",
"gunicorn",
"importchecker",
"isort",
"ty",
"mypy",
"pexpect",
"pip-licenses",
"pip_audit",
"pre-commit",
"pydocstyle",
"pylint",
"pylint-pydantic",
"pyre-check",
"pyright",
"pyroma",
"pyspelling",
"pytest",
"pytest-asyncio",
"pytest-cov",
"pytest-examples",
"pytest-md-report",
"pytest-rerunfailures",
"pytest-xdist",
"pytype",
"radon",
"ruff",
"settings-doc",
"snakeviz",
"types-tabulate",
"twine",
"uvicorn"
]