[project] name = "sdlc-hub" version = "0.1.0" description = "Мост Jira для АРМ КА: зеркало задач, очередь команд, HTTP API, MCP" requires-python = ">=3.13" dependencies = [ "beautifulsoup4>=4.12", "markdownify>=1.2.3,<2", "mcp>=1.2,<2", ] [project.scripts] sdlc-hub = "sdlc_hub.cli:main" [dependency-groups] dev = ["pytest>=8"] [build-system] requires = ["hatchling"] build-backend = "hatchling.build" [tool.hatch.build.targets.wheel] packages = ["src/sdlc_hub"] [tool.pytest.ini_options] testpaths = ["tests"] # незакрытое соединение sqlite — ошибка набора: ResourceWarning из __del__ pytest выдаёт как # PytestUnraisableExceptionWarning, поэтому нужны оба фильтра (hub-hygiene-d, решение 14) filterwarnings = ["error::ResourceWarning", "error::pytest.PytestUnraisableExceptionWarning"] [tool.uv] # Python от uv (python-build-standalone): SQLite в нём своя. В SQLite 3.51.0–3.51.1 взаимная блокировка в unix-VFS # вешает хаб под параллельными запросами (O-14, #29); у miniconda — 3.51.1 python-preference = "only-managed" [tool.ruff.lint.per-file-ignores] # фикстура api импортируется из test_wiki_sync (идиома pytest), а не определяется заново "tests/test_wiki_api.py" = ["F811"]