forked from cmathews393/spotify-to-plex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
62 lines (52 loc) · 1.31 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
[tool.poetry]
name = "spotify_to_plex"
version = "3.1.1"
description = "Sync Spotify playlists to Plex Media Server"
authors = ["lammersbjorn <[email protected]>", "0xChloe <[email protected]>"]
license = "GPLv3"
readme = "README.md"
repository = "https://github.com/lammersbjorn/spotify-to-plex"
[tool.poetry.dependencies]
python = "^3.10"
httpx = "^0.27.0"
PlexAPI = "^4.15.13"
spotipy = "^2.24.0"
rtoml = "^0.10.0"
typer = "^0.12.3"
rich = "^13.7.1"
loguru = "^0.7.2"
python-dotenv = "^1.1.0"
tqdm = "^4.67.1"
[tool.poetry.group.dev.dependencies]
black = "^23.10.0"
ruff = "^0.1.0"
mypy = "^1.6.0"
pytest = "^7.4.2"
pytest-cov = "^4.1.0"
[tool.poetry.scripts]
spotify-to-plex = "spotify_to_plex.main:app"
[[tool.poetry.packages]]
include = "spotify_to_plex"
from = "."
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
select = ["ALL"]
ignore = ["D203", "D212"]
target-version = "py310"
line-length = 100
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401", "D104"]
"tests/*" = ["D100", "D101", "D102", "D103"]
[tool.ruff.pydocstyle]
convention = "google"
[tool.black]
line-length = 100
target-version = ["py310"]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true