Files
basicmachines-co-basic-memory/pyproject.toml
T
2024-12-05 20:54:12 -06:00

47 lines
1.1 KiB
TOML

[project]
name = "basic-memory"
version = "0.1.0"
description = "Local-first knowledge management combining Zettelkasten with knowledge graphs"
readme = "README.md"
requires-python = ">=3.12"
license = { text = "AGPL-3.0-or-later" }
dependencies = [
"sqlalchemy>=2.0.0",
"pyyaml>=6.0.1",
"rich>=13.7.0",
"typer>=0.9.0",
"aiosqlite>=0.20.0",
"greenlet>=3.1.1",
"pydantic[email,timezone]>=2.10.3",
"icecream>=2.1.3",
]
[project.optional-dependencies]
dev = [
"pytest>=8.3.4",
"pytest-cov>=4.1.0",
"pytest-mock>=3.12.0",
"pytest-asyncio>=0.24.0",
"black>=23.11.0",
"ruff>=0.1.6",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.pytest.ini_options]
addopts = "--cov=basic_memory -ra -q"
testpaths = ["tests"]
asyncio_mode = "strict"
asyncio_default_fixture_loop_scope = "function"
# Add this line to ensure pytest-mock is loaded
#required_plugins = ["pytest-asyncio", "pytest-cov", "pytest-mock"]
[tool.black]
line-length = 100
target-version = ["py312"]
[tool.ruff]
line-length = 100
target-version = "py312"