-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (65 loc) · 1.68 KB
/
pyproject.toml
File metadata and controls
72 lines (65 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[project]
name = "multichannel-wav-mixer"
version = "1.0.3"
description = "Multichannel WAV file mixer with stereo mixdown"
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.13"
dependencies = [
"audioop-lts>=0.2.1; python_version >= '3.13'",
"customtkinter>=5.2.2",
"sounddevice>=0.5.0",
"librosa>=0.10.0",
"matplotlib>=3.10.0",
"numpy>=1.26.4",
"pyloudnorm>=0.1.0",
"pydub>=0.25.1",
"soundfile>=0.13.1",
]
[tool.uv]
package = false
override-dependencies = [
# llvmlite (numba dep) has no pre-built macOS x86_64 wheel for Python 3.13+;
# librosa works without numba — it is a JIT accelerator with pure-Python fallbacks.
"numba ; platform_machine == 'arm64' or sys_platform != 'darwin'",
]
[dependency-groups]
dev = [
"commitizen>=3.0",
"pyinstaller>=6.19.0",
"pytest>=8.0",
"pytest-cov>=5.0",
"ruff>=0.9",
]
[tool.commitizen]
name = "cz_conventional_commits"
version = "1.0.3"
version_files = ["pyproject.toml:version"]
tag_format = "v$version"
update_changelog_on_bump = true
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
]
ignore = [
"E501", # line too long — handled by formatter
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
filterwarnings = [
# pydub 0.25.1 uses unescaped regex backslashes — not our code
"ignore::SyntaxWarning:pydub",
# audioop is deprecated in 3.12; audioop-lts covers 3.13+
"ignore::DeprecationWarning:pydub",
]