Фикстура open_db в tests/conftest.py, фикстуры conn вместо хелперов fresh()/_mirror(); filterwarnings: error::ResourceWarning и error::pytest.PytestUnraisableExceptionWarning (решение 14, R-5). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
26 lines
852 B
TOML
26 lines
852 B
TOML
[project]
|
||
name = "jira-hub"
|
||
version = "0.1.0"
|
||
description = "Мост Jira для АРМ КА: зеркало задач, очередь команд, HTTP API, MCP"
|
||
requires-python = ">=3.13"
|
||
dependencies = ["mcp>=1.2,<2"]
|
||
|
||
[project.scripts]
|
||
jira-hub = "jira_hub.cli:main"
|
||
|
||
[dependency-groups]
|
||
dev = ["pytest>=8"]
|
||
|
||
[build-system]
|
||
requires = ["hatchling"]
|
||
build-backend = "hatchling.build"
|
||
|
||
[tool.hatch.build.targets.wheel]
|
||
packages = ["src/jira_hub"]
|
||
|
||
[tool.pytest.ini_options]
|
||
testpaths = ["tests"]
|
||
# незакрытое соединение sqlite — ошибка набора: ResourceWarning из __del__ pytest выдаёт как
|
||
# PytestUnraisableExceptionWarning, поэтому нужны оба фильтра (hub-hygiene-d, решение 14)
|
||
filterwarnings = ["error::ResourceWarning", "error::pytest.PytestUnraisableExceptionWarning"]
|