gabriel / musehub public
pyproject.toml toml
101 lines 2.9 KB
Raw
sha256:a10adeeb7a0169cb9900f9806ed7a973047258abb6283724fe55e8eb68ff3f0a init: musehub initial commit Human 171 days ago
1 [project]
2 name = "musehub"
3 version = "0.2.0"
4 description = "MuseHub — remote collaboration, code intelligence, and MCP tooling for Muse VCS"
5 readme = "README.md"
6 license = {text = "MIT"}
7 requires-python = ">=3.14"
8 dependencies = [
9 "muse_contracts>=0.1.0", # satisfied by Docker bind-mount of ~/ecosystem/contracts
10 "fastapi>=0.135.1",
11 "jinja2>=3.1.6",
12 "aiofiles>=25.1.0",
13 "uvicorn[standard]>=0.42.0",
14 "httpx>=0.28.1",
15 "pydantic>=2.12.5",
16 "pydantic-settings>=2.13.1",
17 "websockets>=15.0.1",
18 "sqlalchemy[asyncio]>=2.0.48",
19 "asyncpg>=0.31.0",
20 "alembic>=1.18.4",
21 "psycopg2-binary>=2.9.10",
22 "slowapi>=0.1.9",
23 "cryptography>=46.0.5",
24 "boto3>=1.42.71",
25 "mido>=1.3.3",
26 "pyyaml>=6.0.2",
27 "mistune>=3.0.0",
28 "typer>=0.15.4",
29 "msgpack>=1.1",
30 ]
31
32
33 [project.optional-dependencies]
34 dev = [
35 "pytest>=8.3.5",
36 "pytest-asyncio>=0.25.3",
37 "pytest-cov>=6.1.0",
38 "pytest-xdist>=3.6.1",
39 "coverage>=7.8.0",
40 "anyio>=4.9.0",
41 "mypy>=1.15.0",
42 "factory-boy>=3.3.3",
43 ]
44
45 [build-system]
46 requires = ["hatchling"]
47 build-backend = "hatchling.build"
48
49 [tool.pytest.ini_options]
50 asyncio_mode = "auto"
51 asyncio_default_fixture_loop_scope = "function"
52 testpaths = ["tests"]
53 cache_dir = "/tmp/pytest_cache"
54 addopts = "-v --tb=short -p no:randomly"
55 filterwarnings = [
56 "ignore:The 'is_flag' and 'flag_value' parameters are not supported by Typer:DeprecationWarning",
57 # slowapi uses asyncio.iscoroutinefunction which is deprecated in 3.14+.
58 # This is a third-party library issue; suppress until slowapi ships a fix.
59 "ignore:'asyncio.iscoroutinefunction' is deprecated:DeprecationWarning:slowapi",
60 # slowapi references the starlette alias HTTP_422_UNPROCESSABLE_ENTITY which
61 # is deprecated in favour of HTTP_422_UNPROCESSABLE_CONTENT.
62 "ignore:'HTTP_422_UNPROCESSABLE_ENTITY' is deprecated:DeprecationWarning:slowapi",
63 # AsyncMock coroutines created inside wire_push are intentionally discarded
64 # when the DB mock raises — the test only checks the warning log, not DB state.
65 "ignore:coroutine 'AsyncMockMixin._execute_mock_call' was never awaited:RuntimeWarning",
66 ]
67
68 [tool.coverage.run]
69 source = ["musehub"]
70 branch = true
71 omit = ["musehub/__init__.py", "*/tests/*"]
72
73 [tool.coverage.report]
74 fail_under = 60
75 show_missing = true
76 exclude_lines = [
77 "pragma: no cover",
78 "def __repr__",
79 "raise NotImplementedError",
80 "if TYPE_CHECKING:",
81 "if typing.TYPE_CHECKING:",
82 ]
83
84 [tool.mypy]
85 python_version = "3.14"
86 strict = true
87 explicit_package_bases = true
88 namespace_packages = true
89 warn_unreachable = true
90 show_error_codes = true
91
92 [[tool.mypy.overrides]]
93 module = ["tests.*"]
94 disallow_untyped_decorators = false
95
96 [[tool.mypy.overrides]]
97 module = ["boto3", "botocore.*", "mido", "yaml", "qdrant_client", "qdrant_client.*", "msgpack", "muse", "muse.*"]
98 ignore_missing_imports = true
99
100 [tool.hatch.build.targets.wheel]
101 packages = ["musehub"]
File History 1 commit
sha256:a10adeeb7a0169cb9900f9806ed7a973047258abb6283724fe55e8eb68ff3f0a init: musehub initial commit Human 171 days ago