File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 19
19
from guidellm .utils import DefaultGroupHandler
20
20
from guidellm .utils import cli as cli_tools
21
21
22
+ # Import version information
22
23
try :
23
24
from guidellm .version import version
24
25
except ImportError :
@@ -71,7 +72,7 @@ def benchmark():
71
72
readable = True ,
72
73
file_okay = True ,
73
74
dir_okay = False ,
74
- path_type = Path , # type: ignore[type-var]
75
+ path_type = Path ,
75
76
),
76
77
click .Choice (get_builtin_scenarios ()),
77
78
),
Original file line number Diff line number Diff line change @@ -85,7 +85,9 @@ def test_version_flag_case_sensitivity():
85
85
def test_version_integration_with_actual_version ():
86
86
"""Integration test to verify version matches what's in version.py."""
87
87
try :
88
- from guidellm .version import version as actual_version
88
+ from guidellm .version import (
89
+ version as actual_version ,
90
+ )
89
91
90
92
runner = CliRunner ()
91
93
result = runner .invoke (cli , ["--version" ])
You can’t perform that action at this time.
0 commit comments