-
Notifications
You must be signed in to change notification settings - Fork 78
/
Copy pathpyproject.toml
88 lines (80 loc) · 1.34 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
84
85
86
87
88
[tool.ruff]
line-length = 88
indent-width = 4
target-version = "py312"
src = [
"app_api",
"app_bot",
"app_worker"
]
required-version = ">=0.9"
[tool.ruff.lint.flake8-quotes]
inline-quotes = "single"
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"ANN002",
"ANN003",
"ANN401",
"ASYNC110",
"BLE001",
"COM812",
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D107",
"D203",
"D213",
"E501",
"EM101",
"EM102",
"FAST002",
"FBT001",
"FBT002",
"FIX002",
"INP001",
"ISC001",
"PERF401",
"TD002",
"TD003",
"TRY003",
]
[tool.ruff.format]
indent-style = "space"
quote-style = "single"
line-ending = "lf"
docstring-code-format = true
[tool.pylint]
init-hook = "import sys; sys.path.append('./yt_shared')"
[tool.mypy]
mypy_path = [
"app_bot",
"app_api",
"app_worker"
]
explicit_package_bases = true
namespace_packages = true
[tool.uv.sources]
yt-shared = { path = "yt_shared" }
app-api = { path = "app_api" }
app-bot = { path = "app_bot" }
app-worker = { path = "app_worker" }
[project]
name = "yt-dlp-bot"
version = "0.1.0"
requires-python = ">=3.12"
description = "Add your description here"
readme = "README.md"
dependencies = [
"app-api",
"app-bot",
"app-worker",
"yt-shared",
]
[dependency-groups]
lint = [
"ruff>=0.9.4",
]