-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
85 lines (76 loc) · 2.29 KB
/
Copy pathpyproject.toml
File metadata and controls
85 lines (76 loc) · 2.29 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
84
85
[project]
name = "spotify-migration"
version = "1.0.1"
description = "Python CLI to migrate playlists, liked songs, followed artists and saved albums between two Spotify accounts — idempotent and order-preserving."
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
authors = [{ name = "Filip Magiela" }]
keywords = [
"spotify",
"spotify-api",
"migration",
"spotify-migration",
"cli",
"playlist",
"liked-songs",
"oauth2",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Utilities",
]
dependencies = [
"spotipy>=2.23.0",
"rich>=13.7.0",
"questionary>=2.0.1",
"python-dotenv>=1.0.0",
]
[project.urls]
Homepage = "https://github.com/janekstankov/spotify-migration"
Repository = "https://github.com/janekstankov/spotify-migration"
Issues = "https://github.com/janekstankov/spotify-migration/issues"
Changelog = "https://github.com/janekstankov/spotify-migration/blob/main/CHANGELOG.md"
[project.scripts]
spotify-migration = "spotify_migration.migrate:main"
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
package-dir = { "" = "src" }
[tool.setuptools.packages.find]
where = ["src"]
[tool.ruff]
target-version = "py310"
line-length = 100
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"W", # pycodestyle warnings
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
]
ignore = [
"E501", # line length is handled by the formatter
"B008", # allow function calls in argument defaults (rich/questionary rely on this)
"B904", # do not force `raise ... from` in every except
]
[tool.ruff.lint.per-file-ignores]
"**/migrate.py" = ["BLE001"]
"**/destination.py" = ["BLE001"]
"**/utils.py" = ["BLE001"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"