forked from BinaryBrain/Beetstream
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
56 lines (49 loc) · 1.34 KB
/
pyproject.toml
File metadata and controls
56 lines (49 loc) · 1.34 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
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "beetstreamnext"
version = "1.6.0"
description = "A modern, feature-rich OpenSubsonic API server for your Beets.io music library."
authors = ["Florent Le Moël <25004801+FlorentLM@users.noreply.github.com>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/FlorentLM/BeetstreamNext"
packages = [{include = "beetsplug"}]
[tool.poetry.dependencies]
python = ">3.10,<4.0"
beets = ">=2.0.0"
flask-cors = ">=6.0.1"
cryptography = ">=45.0.6"
pillow = ">=11.3.0"
requests = ">=2.33.0"
waitress = ">=3.0.2"
paste = ">=0.2.1"
requests-cache = ">=1.3.1"
python-dotenv = ">=1.2.2"
ffmpeg-python = {version = ">=0.2.0", optional = true}
wikipedia-api = {version = ">=0.11.0", optional = true}
[tool.poetry.extras]
transcode = ["ffmpeg-python"]
wiki = ["wikipedia-api"]
[tool.poetry.group.dev.dependencies]
pytest = ">=7.4.0"
ruff = ">=0.1.0"
poethepoet = ">=0.24.0"
pre-commit = ">=3.5.0"
[tool.ruff]
# same line length as beets for consistency
line-length = 79
select = ["E", "F", "I", "W", "C90", "N"]
ignore = ["E501"] # handled by formatter
[tool.ruff.format]
quote-style = "single"
[tool.poe.tasks]
# dev tasks
lint = "ruff check ."
format = "ruff format ."
check = [
{cmd = "ruff format . --check"},
{cmd = "ruff check ."},
]
test = "pytest"