-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
83 lines (72 loc) · 2.07 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
[tool.poetry]
name = "discogrify"
version = "0.0.12"
description = "Create discographies on Spotify"
authors = ["Andrii Yurchuk <ay@mntw.re>"]
license = "Unlicense"
readme = "README.md"
repository = "https://github.com/Ch00k/discogrify"
classifiers = [
"Topic :: Multimedia :: Sound/Audio",
"Development Status :: 4 - Beta",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: The Unlicense (Unlicense)",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: POSIX :: BSD",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
]
keywords = ["spotify", "discography", "playlist"]
[tool.poetry.dependencies]
python = "^3.8.1" # flake8 >=7.0.0 needs Python >=3.8.1
click = "^8.1.7"
environs = "^10.3.0"
spotipy = "^2.23.0"
tabulate = "^0.9.0"
[tool.poetry.scripts]
discogrify = "discogrify.cli:cli"
d8y = "discogrify.cli:cli"
[tool.poetry.group.dev.dependencies]
black = "^24.1.1"
flake8 = "^7.0.0"
flake8-pyproject = "^1.2.3"
isort = "^5.13.2"
mypy = "^1.8.0"
pytest = "^8.0.0"
pytest-cov = "^4.1.0"
types-tabulate = "^0.9.0.20240106"
[tool.black]
line-length = 120
[tool.flake8]
max-line-length = 120
extend-ignore = ["E203"]
[tool.isort]
profile = "black"
line_length = 120
include_trailing_comma = true
[tool.mypy]
check_untyped_defs = true
show_none_errors = true
warn_return_any = true
warn_unused_ignores = true
show_column_numbers = true
strict_optional = true
warn_redundant_casts = true
disallow_untyped_defs = true
[tool.pytest.ini_options]
addopts = "--cov --cov-report xml"
[tool.coverage.run]
branch = true
omit = ["**/*/test*/*"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"