biliarchiver/pyproject.toml

66 lines
1.3 KiB
TOML
Raw Normal View History

2023-06-06 12:38:26 -07:00
[tool.poetry]
2023-06-06 21:59:14 -07:00
name = "biliarchiver"
2023-08-10 10:59:29 -07:00
version = "0.1.0"
2023-06-06 12:38:26 -07:00
description = ""
authors = ["yzqzss <yzqzss@yandex.com>"]
readme = "README.md"
2023-08-09 09:03:27 -07:00
packages = [{ include = "biliarchiver" }]
2023-06-06 12:38:26 -07:00
[tool.poetry.dependencies]
python = "^3.9"
2023-07-17 21:18:02 -07:00
bilix = "0.18.4"
2023-06-06 12:45:27 -07:00
internetarchive = "^3.5.0"
danmakuc = "^0.3.6"
browser-cookie3 = "^0.19.1"
2023-08-09 09:03:27 -07:00
click = "^8.1.6"
2023-08-09 12:32:45 -07:00
click-option-group = "^0.5.6"
2023-06-06 12:38:26 -07:00
[tool.poetry.scripts]
2023-08-09 09:03:27 -07:00
biliarchiver = "biliarchiver.cli_tools.biliarchiver:biliarchiver"
2023-06-06 12:38:26 -07:00
2023-08-13 08:57:54 -07:00
[tool.poetry.group.dev.dependencies]
ruff = "^0.0.284"
2023-06-06 12:38:26 -07:00
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
2023-08-13 08:57:54 -07:00
[tool.ruff]
# Enable the pycodestyle (`E`) and Pyflakes (`F`) rules by default.
select = ["E9", "F63", "F7", "F82"]
ignore = []
# Allow autofix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
unfixable = []
# Exclude a variety of commonly ignored directories.
exclude = [
".direnv",
".git",
".git-rewrite",
".pants.d",
".pytype",
".ruff_cache",
".js",
".venv",
"__pypackages__",
"_build",
"build",
"dist",
"node_modules",
"venv",
]
per-file-ignores = {}
# Same as Black.
line-length = 127
2023-08-16 11:56:03 -07:00
# Assume Python 3.9
2023-08-13 08:57:54 -07:00
target-version = "py39"
[tool.ruff.mccabe]
# McCabe complexity (`C901`) by default.
# Flag errors whenever the complexity level exceeds 10.
max-complexity = 10