gabriel / musehub public
pyproject.toml
87 lines 1.9 KB
26be87f9 Fix startup errors: remove dead model imports, add missing pyyaml Gabriel Cardona <gabriel@tellurstori.com> 6d ago
1 [project]
2 name = "musehub"
3 version = "0.1.0"
4 description = "MuseHub — the music composition version control platform powered by Muse VCS"
5 readme = "README.md"
6 requires-python = ">=3.11"
7 dependencies = [
8 "fastapi>=0.109.0",
9 "jinja2>=3.1.0",
10 "aiofiles>=23.2.0",
11 "uvicorn[standard]>=0.27.0",
12 "httpx>=0.26.0",
13 "pydantic>=2.5.0",
14 "pydantic-settings>=2.1.0",
15 "websockets>=12.0",
16 "PyJWT>=2.8.0",
17 "sqlalchemy[asyncio]>=2.0.0",
18 "asyncpg>=0.29.0",
19 "aiosqlite>=0.19.0",
20 "alembic>=1.13.0",
21 "psycopg2-binary>=2.9.9",
22 "slowapi>=0.1.9",
23 "cryptography>=42.0.0",
24 "boto3>=1.34.0",
25 "mido>=1.3.0",
26 "pyyaml>=6.0.0",
27 "typer>=0.9.0",
28 ]
29
30
31 [project.optional-dependencies]
32 dev = [
33 "pytest>=8.0.0",
34 "pytest-asyncio>=0.23.0",
35 "pytest-cov>=4.1.0",
36 "coverage>=7.0.0",
37 "anyio>=4.2.0",
38 "mypy>=1.8.0",
39 ]
40
41 [build-system]
42 requires = ["hatchling"]
43 build-backend = "hatchling.build"
44
45 [tool.pytest.ini_options]
46 asyncio_mode = "auto"
47 testpaths = ["tests"]
48 cache_dir = "/tmp/pytest_cache"
49 addopts = "-v --tb=short"
50 filterwarnings = [
51 "ignore:The 'is_flag' and 'flag_value' parameters are not supported by Typer:DeprecationWarning",
52 ]
53
54 [tool.coverage.run]
55 source = ["musehub"]
56 branch = true
57 omit = ["musehub/__init__.py", "*/tests/*"]
58
59 [tool.coverage.report]
60 fail_under = 80
61 show_missing = true
62 exclude_lines = [
63 "pragma: no cover",
64 "def __repr__",
65 "raise NotImplementedError",
66 "if TYPE_CHECKING:",
67 "if typing.TYPE_CHECKING:",
68 ]
69
70 [tool.mypy]
71 python_version = "3.11"
72 strict = true
73 explicit_package_bases = true
74 namespace_packages = true
75 warn_unreachable = true
76 show_error_codes = true
77
78 [[tool.mypy.overrides]]
79 module = ["tests.*"]
80 disallow_untyped_decorators = false
81
82 [[tool.mypy.overrides]]
83 module = ["boto3", "botocore.*", "mido", "yaml"]
84 ignore_missing_imports = true
85
86 [tool.hatch.build.targets.wheel]
87 packages = ["musehub"]