[project]
name = "localvoicemode"
version = "0.1.0"
description = "Self-contained voice interface for AI chat"
requires-python = ">=3.10"
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."] # Allow importing from project root (voice_client.py, src/)
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
addopts = "-v"
filterwarnings = [
"ignore::DeprecationWarning",
]
[tool.coverage.run]
source = ["src/localvoicemode", "voice_client.py"]
omit = [
".venv/*",
"tests/*",
"__pycache__/*",
"*.pyc",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.:",
"raise NotImplementedError",
]
show_missing = true
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "W"]
ignore = ["E501", "F401"]