diff --git a/pyproject.toml b/pyproject.toml index a3dff38..a4e44f3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,69 +1,68 @@ -[build-system] -requires = ["setuptools>=61.0", "wheel"] -build-backend = "setuptools.build_meta" - [project] -name = "memory-manager" +name = "agentic-codebase-memory-manager" version = "0.1.0" -description = "A centralized memory store for AI coding agents" +description = "A lightweight, extensible memory management system for AI coding agents" readme = "README.md" -requires-python = ">=3.11" +requires-python = ">=3.10" license = {text = "MIT"} authors = [ - {name = "Agentic Team"} + {name = "7000pct", email = "auto@bloupla.net"} ] -keywords = ["ai", "coding", "memory", "agent", "codebase"] +keywords = ["memory", "context", "agent", "coding", "ai"] classifiers = [ - "Development Status :: 3 - Alpha", + "Development Status :: 4 - Beta", "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", + "Topic :: Software Development :: Libraries :: Python Modules", ] dependencies = [ - "sqlalchemy>=2.0.25", - "click>=8.1.7", - "textual>=0.50.1", - "fastapi>=0.109.0", - "uvicorn>=0.27.0", - "aiosqlite>=0.19.0", - "pydantic>=2.5.3", - "httpx>=0.26.0", - "python-dotenv>=1.0.0", - "shellingham>=1.1.4", + "click>=8.1.0", + "rich>=13.0.0", ] [project.optional-dependencies] dev = [ "pytest>=8.0.0", - "pytest-asyncio>=0.23.0", - "mypy>=1.8.0", - "ruff>=0.2.0", + "pytest-cov>=4.1.0", + "ruff>=0.4.0", ] [project.scripts] -memory = "memory_manager.cli.main:cli" +memory = "agentic_codebase_memory_manager.cli:main" -[tool.setuptools.packages.find] -where = ["src"] +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.build.targets.wheel] +packages = ["agentic_codebase_memory_manager"] [tool.pytest.ini_options] testpaths = ["tests"] -asyncio_mode = "auto" python_files = ["test_*.py"] - -[tool.mypy] -python_version = "3.11" -warn_return_any = true -warn_unused_configs = true -ignore_missing_imports = true +python_functions = ["test_*"] +addopts = "-v --tb=short" [tool.ruff] -target-version = "py311" line-length = 100 -select = ["E", "F", "I", "N", "W", "UP"] +target-version = "py310" + +[tool.ruff.lint] +select = ["E", "F", "W", "I", "N", "UP", "B", "C4"] ignore = ["E501"] -[tool.ruff.per-file-ignores] -"__init__.py" = ["F401"] +[tool.coverage.run] +source = ["agentic_codebase_memory_manager"] +branch = true + +[tool.coverage.report] +exclude_lines = [ + "pragma: no cover", + "if TYPE_CHECKING:", + "raise NotImplementedError", +]