cgcardona / muse public
pyproject.toml
62 lines 1.4 KB
7ba4aa0b Remove all Maestro legacy code; clean mypy across full muse/ package Gabriel Cardona <gabriel@tellurstori.com> 3d ago
1 [project]
2 name = "muse"
3 version = "0.1.1"
4 description = "Muse — domain-agnostic version control for multidimensional state"
5 readme = "README.md"
6 requires-python = ">=3.11"
7 dependencies = [
8 "typer>=0.9.0",
9 "toml>=0.10.0",
10 "mido>=1.3.0",
11 ]
12
13 [project.scripts]
14 muse = "muse.cli.app:cli"
15
16 [project.optional-dependencies]
17 dev = [
18 "pytest>=8.0.0",
19 "pytest-asyncio>=0.23.0",
20 "pytest-cov>=4.1.0",
21 "anyio>=4.2.0",
22 "mypy>=1.8.0",
23 ]
24
25 [build-system]
26 requires = ["hatchling"]
27 build-backend = "hatchling.build"
28
29 [tool.pytest.ini_options]
30 asyncio_mode = "auto"
31 testpaths = ["tests"]
32 cache_dir = "/tmp/pytest_cache"
33 addopts = "-v --tb=short"
34
35 [tool.mypy]
36 python_version = "3.11"
37 strict = true
38 explicit_package_bases = true
39 namespace_packages = true
40 warn_unreachable = true
41 show_error_codes = true
42 # Exclude legacy music-services and stub CLI commands that still reference
43 # removed dependencies (SQLAlchemy, Pydantic, httpx, maestro.*).
44 # These will be brought into scope as each file is ported.
45 exclude = [
46 "muse/plugins/music/services/",
47 "muse/cli/commands/emotion_diff\\.py",
48 "muse/cli/commands/groove_check\\.py",
49 ]
50
51 [[tool.mypy.overrides]]
52 module = ["tests.*"]
53 disallow_untyped_decorators = false
54 disallow_untyped_defs = false
55 disallow_incomplete_defs = false
56
57 [[tool.mypy.overrides]]
58 module = ["mido", "toml"]
59 ignore_missing_imports = true
60
61 [tool.hatch.build.targets.wheel]
62 packages = ["muse"]