mirror of
https://github.com/denizsafak/abogen.git
synced 2026-07-18 05:40:26 +02:00
Fixed all pytest errors, enhanced book parser with context management and resource cleanup, update tests for proper parser closure
This commit is contained in:
+7
-1
@@ -93,6 +93,12 @@ include = [
|
||||
path = "abogen/VERSION"
|
||||
pattern = "^(?P<version>.+)$"
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
filterwarnings = [
|
||||
"ignore:builtin type .* has no __module__ attribute:DeprecationWarning",
|
||||
"ignore:Importing 'parser.split_arg_string' is deprecated:DeprecationWarning"
|
||||
]
|
||||
|
||||
# --- OPTIONAL DEPENDENCIES ---
|
||||
|
||||
[project.optional-dependencies]
|
||||
@@ -105,7 +111,7 @@ cuda130 = ["torch"]
|
||||
# AMD GPU (Linux) (ROCm 6.4) # uv tool install abogen[rocm]
|
||||
rocm = ["torch", "pytorch-triton-rocm"]
|
||||
# Development dependencies # uv tool install abogen[dev]
|
||||
dev = ["build"]
|
||||
dev = ["build", "pytest"]
|
||||
|
||||
# --- KOKORO CONFIGURATION (for macOS) ---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user