Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
83 lines (74 loc) · 1.58 KB
/
Copy pathpyproject.toml
File metadata and controls
83 lines (74 loc) · 1.58 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
[build-system]
requires = ["hatchling>=1.27"]
build-backend = "hatchling.build"
[project]
name = "audio-processing-cli"
version = "0.1.0"
description = "Profile-driven, local-first audio enhancement for agent workflows"
readme = "README.md"
requires-python = ">=3.11"
license = "MIT"
authors = [{ name = "Fred Yang" }]
dependencies = [
"numpy>=2.0",
"onnxruntime>=1.20",
"scipy>=1.14",
# `audio packages pull` materializes Hub revisions, including one for the swift environment
# that has no interpreter of its own to download with. Imported lazily, so the rest of the
# tool works without it and `audio doctor` reports its absence.
"huggingface-hub>=0.34",
]
[project.optional-dependencies]
dev = [
"pre-commit==4.6.2",
"pytest>=8.3",
"pytest-cov>=6.0",
"ruff==0.16.6",
]
[project.scripts]
audio = "audio_cli.cli:main"
[tool.hatch.build.targets.wheel]
packages = ["src/audio_cli"]
[tool.hatch.build.targets.sdist]
include = [
"/skills/audio-cli",
"/.pre-commit-config.yaml",
"/*.md",
"/docs",
"/model_tests/benchmark",
"/src",
"/tests",
"/LICENSE",
"/README.md",
"/pyproject.toml",
"/uv.lock",
]
exclude = ["/tests/artifacts/**"]
[tool.pytest.ini_options]
addopts = "-q"
testpaths = ["tests"]
markers = [
"live: exercises downloaded models and real media",
]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
external = ["ANN", "BLE", "PLC"]
select = [
"B",
"C4",
"E4",
"E7",
"E9",
"F",
"I",
"PIE",
"RUF",
"SIM",
"UP",
]
ignore = [
# Chinese punctuation and smart quotes are data in multilingual fixtures.
"RUF001",
]