-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
117 lines (102 loc) · 2.43 KB
/
Copy pathpyproject.toml
File metadata and controls
117 lines (102 loc) · 2.43 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
[project]
name = "matchpatch"
version = "0.8.2"
description = "Audio processor preset gain normalization and measurement tools"
readme = "README.md"
requires-python = ">=3.12,<3.15"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = [
"numpy>=2.0",
"pyloudnorm>=0.1.1",
"soundfile>=0.13.1",
]
[project.optional-dependencies]
gui = [
"PySide6>=6.8",
]
hardware = [
"mido>=1.3.3",
"python-rtmidi>=1.5.8; sys_platform == 'win32'",
"sounddevice>=0.5.1; sys_platform == 'win32'",
]
[project.urls]
Homepage = "https://github.com/noseglasses/MatchPatch"
Issues = "https://github.com/noseglasses/MatchPatch/issues"
Repository = "https://github.com/noseglasses/MatchPatch.git"
[project.scripts]
matchpatch = "matchpatch.cli:main"
matchpatch-gui = "matchpatch.gui.app:main"
[dependency-groups]
docs = [
"furo>=2024.8.6",
"myst-parser>=4",
"sphinx>=8",
]
installer = [
"pillow>=10.0",
"pyinstaller>=6.0",
]
wsl = [
"hypothesis>=6.155.2",
"numpy>=2.0",
"pre-commit>=4.0",
"pyloudnorm>=0.1.1",
"pytest>=8.3",
"pytest-cov>=6.0",
"ruff>=0.15.17",
"soundfile>=0.13.1",
"ty>=0.0.1a21",
]
windows = [
{ include-group = "wsl" },
"mido>=1.3.3",
"python-rtmidi>=1.5.8; sys_platform == 'win32'",
"sounddevice>=0.5.1; sys_platform == 'win32'",
]
[tool.uv]
default-groups = []
[tool.pytest.ini_options]
addopts = [
"--cov=matchpatch",
"--cov-report=term-missing",
"--cov-report=html",
]
testpaths = ["tests"]
[tool.coverage.run]
branch = true
source = ["matchpatch"]
[tool.coverage.report]
show_missing = true
skip_covered = true
[tool.ruff]
target-version = "py312"
line-length = 100
[tool.ruff.lint]
select = ["ANN", "C901", "E4", "E7", "E9", "F", "I"]
[tool.ruff.lint.mccabe]
max-complexity = 10
[tool.ruff.lint.per-file-ignores]
"src/matchpatch/devices/helix/file_ops.py" = ["ANN"]
"src/matchpatch/devices/helix/preset_handling.py" = ["ANN", "C901"]
"tests/**" = ["ANN"]
[tool.ty.src]
include = ["src"]
[tool.ty.analysis]
allowed-unresolved-imports = [
"mido",
"PySide6",
"PySide6.QtCore",
"PySide6.QtGui",
"PySide6.QtSvg",
"PySide6.QtWidgets",
"sounddevice",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"