-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
73 lines (65 loc) · 1.08 KB
/
pyproject.toml
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
[project]
name = "music"
version = "2.0.0"
license = { text = "MIT" }
requires-python = ">=3.11"
classifiers = [
"License :: OSI Approved :: MIT License",
"Private :: Do Not Upload",
"Programming Language :: Python :: 3",
"Topic :: Multimedia :: Sound/Audio",
]
dependencies = [
"aiofiles",
"aiohttp",
"click",
"openai",
"python-reapy",
"rich",
]
[project.optional-dependencies]
testing = [
"mypy",
"pre-commit",
"pytest",
"pytest-asyncio",
"pytest-cov",
"pytest-socket",
"ruff",
"syrupy",
"types-aiofiles",
]
[project.scripts]
music = "music.__main__:cli"
[tool.mypy]
strict = true
[tool.ruff]
extend-exclude = [
"__codegen__",
]
[tool.ruff.lint]
select = [
"A",
"B",
"C",
"D",
"E",
"F",
"I",
"N",
"UP",
"W",
]
# E501 - line too long; if formatter does its job, I'm not worried about the rare long line
ignore = ["E501"]
[tool.ruff.lint.pydocstyle]
convention = "pep257"
[tool.pytest.ini_options]
addopts = [
'--cov',
'src',
'--cov-report',
'html',
'--disable-socket',
'--allow-unix-socket',
]