40 lines
796 B
TOML
40 lines
796 B
TOML
[project]
|
|
name = "x402-mcp-chatbot-example"
|
|
version = "0.1.0"
|
|
description = "OpenAI chatbot with MCP tools and x402 payment support"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"x402[mcp,evm]",
|
|
"python-dotenv>=1.0.0",
|
|
"httpx>=0.27.0",
|
|
"openai>=1.0.0",
|
|
]
|
|
|
|
[tool.uv]
|
|
exclude-newer = "3 days"
|
|
package = false
|
|
|
|
[tool.uv.sources]
|
|
x402 = { path = "../../../../python/x402", editable = true }
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py310"
|
|
|
|
[tool.ruff.lint]
|
|
select = [
|
|
"E", # pycodestyle errors
|
|
"W", # pycodestyle warnings
|
|
"F", # pyflakes
|
|
"I", # isort
|
|
"B", # flake8-bugbear
|
|
"C4", # flake8-comprehensions
|
|
"UP", # pyupgrade
|
|
]
|
|
ignore = [
|
|
"E501", # line too long (handled by black)
|
|
]
|
|
|
|
[tool.ruff.lint.isort]
|
|
known-first-party = ["x402"]
|