xiaomusic/pyproject.toml

53 lines
1.0 KiB
TOML
Raw Normal View History

2023-10-14 11:50:32 +00:00
[project]
name = "xiaomusic"
2024-06-15 15:56:22 +00:00
version = "0.1.46"
2023-10-14 11:50:32 +00:00
description = "Play Music with xiaomi AI speaker"
authors = [
{name = "涵曦", email = "im.hanxi@gmail.com"},
]
dependencies = [
"rich>=13.6.0",
"requests>=2.31.0",
"aiohttp>=3.8.6",
2024-05-17 12:27:47 +00:00
"miservice-fork>=2.5.0",
2023-10-14 11:50:32 +00:00
"mutagen>=1.47.0",
2024-05-12 14:04:08 +00:00
"yt-dlp>=2024.04.09",
"flask[async]>=3.0.1",
2024-05-19 15:53:31 +00:00
"waitress>=3.0.0",
2023-10-14 11:50:32 +00:00
]
requires-python = ">=3.10"
readme = "README.md"
license = {text = "MIT"}
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
2024-05-19 15:53:31 +00:00
[tool.pdm]
2024-06-14 01:58:10 +00:00
[tool.pdm.dev-dependencies]
lint = [
"ruff>=0.4.8",
]
[tool.ruff]
select = [
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"E", # pycodestyle - Error
"F", # Pyflakes
"I", # isort
"W", # pycodestyle - Warning
"UP", # pyupgrade
]
ignore = [
"E501", # line-too-long
"W191", # tab-indentation
]
include = ["**/*.py", "**/*.pyi", "**/pyproject.toml"]
[tool.ruff.pydocstyle]
convention = "google"
[tool.pdm.scripts]
lint = "ruff check ."
fmt = "ruff format ."