-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
96 lines (87 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
[project]
name = "BD-Remux-Film-Encoder"
version = "0.1.0"
description = "A high-performance Python-based tool optimized for Apple Silicon Macs, designed to encode and remux Blu-ray discs into more compact and playable formats while maintaining exceptional quality."
readme = "README.md"
requires-python = ">=3.12"
license = { text = "Apache License" }
dependencies = [
"psutil",
"python-dotenv",
"typing-extensions==4.12.2",
"tenacity==9.0.0",
"pydantic==2.10.4",
]
[project.optional-dependencies]
dev = ["ruff", "mypy", "pyright", "coverage", "radon", "vulture"]
[tool.ruff]
line-length = 120
fix = true
unsafe-fixes = true
preview = true
[tool.ruff.lint]
preview = true
select = [
"F",
"W",
"N",
"C90",
"B",
"UP",
"RET",
"SIM",
"RUF",
"NPY",
"PD",
"ARG",
"TID",
"PTH",
"Q",
"ISC",
"PIE",
"YTT",
"ASYNC",
"C4",
"T10",
"A",
"COM",
"RSE",
"PL",
"E",
"PGH",
]
ignore = [
"PLR0913",
"PLR0911",
"PLR0914",
"PLR6301",
"PD901",
"E501",
"G004",
"RUF100",
"PGH003",
"PLR0911",
"PLR0912",
"COM812",
"ISC001",
]
[tool.mypy]
strict = true
[tool.pyright]
venvPath = "."
venv = ".venv"
pythonVersion = "3.13"
reportUnusedCallResult = false
reportAny = false
reportExplicitAny = false
reportImplicitStringConcatenation = false
[tool.coverage.run]
source = ["."]
branch = true
[tool.coverage.report]
show_missing = true
[tool.coverage.html]
directory = "htmlcov"
[tool.radon]
cc = ["-a", "-nc", "-s"]
mi = ["-s"]