-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
57 lines (47 loc) · 1.64 KB
/
pyproject.toml
File metadata and controls
57 lines (47 loc) · 1.64 KB
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
[project]
name = "yt-audio-backup-gui"
version = "0.1.8n-p9b"
description = "A reliable, security-conscious GUI for backing up YouTube playlists as MP3."
readme = "README.md"
requires-python = ">=3.9"
authors = [{ name = "Your Name" }]
license = { text = "MIT" }
dependencies = [
"yt-dlp>=2025.1.1",
"mutagen>=1.46",
]
[tool.ruff]
line-length = 100
target-version = "py311" # keep your current floor
[tool.ruff.lint]
# Keep only the "serious" checks for now (runtime errors + a bit of PyUpgrade).
select = ["E", "F", "I", "UP", "B"]
# Keep your long-line exception and silence noisy style rules we know you use.
ignore = ["E501", "E401", "E402", "E701", "E702", "E703", "I001"]
[tool.ruff.lint.isort]
known-first-party = ["yt_audio_backup_gui"]
combine-as-imports = true
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["F401", "I001", "E701", "E702", "E703"]
"yt_audio_backup_gui.py" = ["E401", "E402", "E701", "E702", "E703", "I001"]
"workbench_core.py" = ["E401", "E402", "E701", "E702", "E703", "I001"]
"help_window.py" = ["E401", "E402", "E701", "E702", "E703", "I001"]
"ui_extras.py" = ["E401", "E402", "E701", "E702", "E703", "I001"]
"tooltips.py" = ["UP037"] # quoted type hints / X|None suggestions
"i18n.py" = ["UP006", "UP015"]
[tool.ruff.format]
quote-style = "preserve"
indent-style = "space"
[tool.pytest.ini_options]
pythonpath = ["."]
testpaths = ["tests"]
[tool.mypy]
python_version = "3.9"
ignore_missing_imports = true
warn_unused_ignores = false
strict = false
[tool.bandit]
skips = ["B101"]
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"