Files
noteflow/pyproject.toml
Travis Vasceannie 4567d5a03c Update project documentation and configuration files
- Expanded `.gitignore` to include temporary files and scratch documents.
- Enhanced `AGENTS.md` with guidelines on using Conventional Commits and PR descriptions.
- Added configuration notes to `README.md` for environment variable usage.
- Updated `pyproject.toml` to reflect changes in dependencies and comments.
- Introduced new files for client configuration and testing, including Prettier settings and Playwright tests.
- Removed deprecated client components and adjusted related documentation accordingly.
- Added new tests for various components and functionalities to improve coverage.
2025-12-22 02:25:38 +00:00

127 lines
3.1 KiB
TOML

[project]
name = "noteflow"
version = "0.1.0"
description = "Intelligent Meeting Notetaker - Local-first capture + navigable recall + evidence-linked summaries"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
# Core
"pydantic>=2.0",
# Audio
"sounddevice>=0.4.6",
"numpy>=1.26",
# Spike 3: ASR
"faster-whisper>=1.0",
# Spike 4: Encryption
"keyring>=25.0",
"cryptography>=42.0",
# gRPC Client-Server
"grpcio>=1.60",
"grpcio-tools>=1.60",
"protobuf>=4.25",
# Database (async PostgreSQL + pgvector)
"sqlalchemy[asyncio]>=2.0",
"asyncpg>=0.29",
"pgvector>=0.3",
"alembic>=1.13",
# Settings
"pydantic-settings>=2.0",
"psutil>=7.1.3",
"diart>=0.9.2",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-cov>=4.0",
"pytest-asyncio>=0.23",
"mypy>=1.8",
"ruff>=0.3",
"basedpyright>=1.18",
"testcontainers[postgres]>=4.0",
]
triggers = [
"pywinctl>=0.3",
]
summarization = [
"ollama>=0.6.1",
"openai>=2.13.0",
"anthropic>=0.75.0",
]
diarization = [
"pyannote.audio>=3.3",
"diart>=0.9.2",
"torch>=2.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/noteflow", "spikes"]
[tool.ruff]
line-length = 100
target-version = "py312"
extend-exclude = ["*_pb2.py", "*_pb2_grpc.py", "*_pb2.pyi", ".venv"]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"SIM", # flake8-simplify
"RUF", # Ruff-specific rules
]
ignore = [
"E501", # Line length handled by formatter
]
[tool.ruff.per-file-ignores]
"**/grpc/service.py" = ["TC002", "TC003"] # numpy/Iterator used at runtime
[tool.mypy]
python_version = "3.12"
strict = true
warn_return_any = true
warn_unused_configs = true
exclude = [".venv"]
[tool.basedpyright]
pythonVersion = "3.12"
typeCheckingMode = "standard"
reportMissingTypeStubs = false
reportUnknownMemberType = false
reportUnknownArgumentType = false
reportUnknownVariableType = false
reportArgumentType = false # proto enums accept ints at runtime
reportIncompatibleVariableOverride = false # SQLAlchemy __table_args__
reportAttributeAccessIssue = false # SQLAlchemy mapped column assignments
exclude = ["**/proto/*_pb2*.py", "**/proto/*_pb2*.pyi", ".venv"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
addopts = "-v --tb=short"
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
markers = [
"slow: marks tests as slow (model loading)",
"integration: marks tests requiring external services",
"stress: marks stress/concurrency tests",
]
filterwarnings = [
"ignore:The @wait_container_is_ready decorator is deprecated.*:DeprecationWarning:testcontainers.core.waiting_utils",
]
[dependency-groups]
dev = [
"basedpyright>=1.36.1",
"ruff>=0.14.9",
"watchfiles>=1.1.1",
]