-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
92 lines (81 loc) · 2.03 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
[build-system]
requires = ["setuptools>=61.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "songs-dl"
version = "2024.8.16"
description = "Download songs on YouTube and add metadata."
readme = "README.md"
authors = [{ name = "Laurent FAVOLE", email = "[email protected]" }]
license = { file = "LICENSE" }
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"License :: Public Domain",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Multimedia :: Sound/Audio",
]
keywords = ["youtube", "music"]
dependencies = [
"fpdf2",
"mutagen",
"Pillow",
"rapidfuzz",
"requests",
"tqdm",
"Unidecode",
"yt-dlp",
]
requires-python = ">=3.7"
[project.optional-dependencies]
build = ["build", "pyinstaller", "twine"]
dev = ["black", "bumpver", "flake8", "isort", "pylint"]
docs = ["markdown-include", "mkdocs", "mkdocs-material", "mkdocs-minify-plugin"]
[project.urls]
Homepage = "https://github.com/lfavole/songs-dl"
[project.scripts]
songs-dl = "songs_dl.__main__:main"
[tool.bumpver]
current_version = "2024.8.16"
version_pattern = "YYYY.MM.DD"
commit_message = "chore: Release {new_version}"
commit = true
tag = true
push = true
[tool.bumpver.file_patterns]
"pyproject.toml" = [
'current_version = "{version}"',
'version = "{version}"',
]
"songs_dl/__init__.py" = ["{version}"]
[tool.black]
line-length = 120
[tool.isort]
profile = "black"
line_length = 120
skip = "migrations"
[tool.pylint.main]
jobs = 0
disable = [
"bad-indentation",
"bare-except",
"fixme",
"global-statement",
"import-outside-toplevel",
"invalid-str-returned",
"line-too-long",
"missing-module-docstring",
"missing-timeout",
"no-member",
"protected-access",
"unspecified-encoding",
]
include-naming-hint = "y"
[tool.pylint.basic]
allowed-redefined-builtins = "id"
good-names = ["f", "i", "id"]
no-docstring-rgx = "^main$"
[tool.setuptools.packages.find]
include = ["songs_dl*"]
namespaces = false