Files
2025-11-30 08:57:54 +08:00

111 lines
2.6 KiB
TOML

[tool.black]
line-length = 100
target-version = ['py310', 'py311', 'py312']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
strict_equality = true
[[tool.mypy.overrides]]
module = "tests.*"
disallow_untyped_defs = false
[[tool.mypy.overrides]]
module = "claude_agent_sdk.*"
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --strict-markers --tb=short"
markers = [
"unit: Unit tests",
"integration: Integration tests requiring API access",
"slow: Tests that take significant time"
]
[build-system]
requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "agent-smith"
version = "1.4.1"
description = "Intelligent financial management skill for Claude Code with PocketSmith API integration"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
authors = [
{name = "Your Name", email = "your.email@example.com"}
]
keywords = ["pocketsmith", "finance", "ai", "claude-code", "financial-management"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"requests>=2.31.0",
"python-dateutil>=2.8.2",
"python-dotenv>=1.0.0",
"pyyaml>=6.0.3",
"claude-agent-sdk>=0.1.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-cov>=4.1.0",
"black>=23.7.0",
"flake8>=6.1.0",
"mypy>=1.5.0",
"ipython>=8.14.0",
]
[project.urls]
Homepage = "https://github.com/slamb2k/agent-smith"
Repository = "https://github.com/slamb2k/agent-smith"
Issues = "https://github.com/slamb2k/agent-smith/issues"
[dependency-groups]
dev = [
"types-pyyaml>=6.0.12.20250915",
"types-python-dateutil>=2.9.0",
"types-requests>=2.32.0",
]
[tool.setuptools.packages.find]
where = ["."]
include = ["scripts*"]
exclude = ["tests*", "docs*", "build*", "ai_docs*", "data*", "logs*", "reports*", "backups*"]