-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
65 lines (59 loc) · 1.55 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
[project]
name = "PYTDL"
description = "Python Youtube Downloader: An interactive command-line tool to batch download with yt-dlp"
version = "2.0.0"
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
authors = [{ name = "AlexBlandin" }]
dependencies = [
"yt-dlp[default]>=2024.10.22",
"tqdm",
"attrs",
"cattrs",
"ada_url",
"pytomlpp",
"humanize",
"langcodes",
"beautifulsoup4",
]
[project.optional-dependencies]
dev = ["ruff", "pdbp", "basedmypy", "basedpyright"]
[project.urls]
Documentation = "https://github.com/alexblandin/PYTDL#readme"
Issues = "https://github.com/alexblandin/PYTDL/issues"
Source = "https://github.com/alexblandin/PYTDL"
[tool.ruff]
indent-width = 2
target-version = "py310"
line-length = 120
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"G004", # simple f-string logging is fine
"ERA", # code comments actually help
"TD003", # not using github to track todo/issues
"S311", # I know when to use secrets
# "T20", # print is good, actually
"D202", # a little vertical separation can be nice
"W191", # ruff format
"E111", # ruff format
"E114", # ruff format
"E117", # ruff format
"E203", # ruff format
"D206", # ruff format
"D212", # ruff format
"D300", # ruff format
"Q", # ruff format
"COM812", # ruff format
"COM819", # ruff format
"ISC001", # ruff format
"ISC002", # ruff format
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.format]
quote-style = "double"
line-ending = "lf"
indent-style = "space"
skip-magic-trailing-comma = false