Configure poetry and black

This commit is contained in:
zhbaor 2023-02-18 22:19:24 +08:00
parent 4626f852b1
commit 3f991ed75c
3 changed files with 1665 additions and 0 deletions

3
.vscode/settings.json vendored Normal file
View file

@ -0,0 +1,3 @@
{
"python.formatting.provider": "black"
}

1639
poetry.lock generated Normal file

File diff suppressed because it is too large Load diff

23
pyproject.toml Normal file
View file

@ -0,0 +1,23 @@
[tool.poetry]
name = "badl"
version = "0.1.0"
description = "BiliBili Audio Downloader"
authors = ["Zhao Zuohong <zhbaor@zhaozuohong.vip>"]
license = "GPL-3.0-only"
[tool.poetry.dependencies]
python = "^3.11"
bilibili-api-python = "^15.1.0"
[tool.poetry.group.dev.dependencies]
black = "^23.1.0"
[[tool.poetry.source]]
name = "mirrors"
url = "https://pypi.tuna.tsinghua.edu.cn/simple/"
default = true
secondary = false
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"