Fix CI/CD workflow and pyproject.toml configuration

This commit is contained in:
Developer
2026-03-22 16:12:35 +00:00
parent b705528b86
commit 71bae33ea9
2 changed files with 109 additions and 12 deletions

View File

@@ -1,9 +1,70 @@
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "memory-manager"
version = "0.1.0"
description = "A centralized memory store for AI coding agents"
readme = "README.md"
requires-python = ">=3.11"
license = {text = "MIT"}
authors = [
{name = "Agentic Team"}
]
keywords = ["ai", "coding", "memory", "agent", "codebase"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
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",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"mypy>=1.8.0",
"ruff>=0.2.0",
]
[project.scripts]
memory = "memory_manager.cli.main:cli"
[tool.setuptools]
packages = ["memory_manager"]
package-dir = {"" = "src"}
[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
[tool.ruff]
include = ["snip/**/*.py", "tests/**/*.py"]
target-version = "py311"
line-length = 100
select = ["E", "F", "I", "N", "W", "UP"]
ignore = ["E501"]
[tool.ruff.lint]
select = ["F", "E", "W"]
ignore = []
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["F401"]
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]