-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (59 loc) · 1.3 KB
/
Copy pathpyproject.toml
File metadata and controls
69 lines (59 loc) · 1.3 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
[project]
name = "podmind"
version = "0.1.0"
description = "Download, transcribe, and summarize Xiaoyuzhou FM podcasts"
requires-python = ">=3.12"
dependencies = [
"requests>=2.32",
"tqdm>=4.67",
"qwen-asr>=0.0.6",
"openai>=1.0",
"python-dotenv>=1.0",
"torch>=2.0",
"mlx-whisper>=0.4",
"mlx-audio>=0.4",
"transformers==4.57.6",
]
[project.scripts]
podmind = "podmind.main:main"
[build-system]
requires = ["setuptools>=75"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
podmind = ["prompts/*.txt"]
[project.optional-dependencies]
dev = [
"ruff>=0.12",
"mypy>=1.0",
"pytest>=8.0",
"pytest-mock>=3.0",
]
[tool.ruff]
src = ["src"]
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM", "W"]
[tool.ruff.lint.per-file-ignores]
"tests/test_transcriber.py" = ["SIM117"]
[tool.mypy]
python_version = "3.12"
files = ["src"]
warn_unused_configs = true
warn_redundant_casts = true
warn_unused_ignores = true
no_implicit_optional = true
disallow_untyped_defs = false
[[tool.mypy.overrides]]
module = [
"requests",
"requests.adapters",
"tqdm",
"qwen_asr.*",
"mlx_whisper",
"mlx_audio.*",
]
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]