-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (73 loc) · 1.74 KB
/
pyproject.toml
File metadata and controls
84 lines (73 loc) · 1.74 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
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
[build-system]
requires = ["setuptools>=70", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "libra"
version = "0.4.3"
requires-python = "==3.13.*"
dependencies = ["PySide6", "razorcore"]
[dependency-groups]
dev = [
"pyinstaller>=6.0",
"pytest>=9.0.2",
"ruff>=0.15.4",
"ty>=0.0.20",
]
[tool.uv.sources]
razorcore = { path = "../.razorcore", editable = true }
[tool.ty.environment]
extra-paths = [
"src",
"/Users/home/Library/Python/3.13/lib/python/site-packages",
"/opt/homebrew/lib/python3.13/site-packages",
]
[tool.ty.analysis]
respect-type-ignore-comments = true
allowed-unresolved-imports = ["videohash"]
[tool.ty.src]
exclude = [
".agent/**",
".shared/**",
".ui-ux-pro-max/**",
"src/Libra/gui/main_window.py",
# Specific GUI widgets excluded; core utilities are now covered
"src/Libra/video_tools/gui/apple_organizer.py",
"src/Libra/video_tools/gui/duplicate_finder.py",
"src/Libra/video_tools/gui/video_sorter.py",
]
[tool.ruff]
line-length = 88
target-version = "py313"
src = ["src"]
exclude = [
".git",
".venv",
"__pycache__",
".pytest_cache",
".ruff_cache",
".agent",
".shared",
"build",
"dist",
"*.egg-info",
]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"UP", # pyupgrade
]
ignore = [
"E501", # line too long (formatter handles this)
]
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = ["S101"]
"__init__.py" = ["F401"]
# NOTE: video_tools/** is excluded from ty type-checking (see [tool.ty.src]).
# Ruff linting still applies to it — this is intentional.
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "lf"