Skip to content

Commit 8bec7b8

Browse files
Fix linting errors 2
Signed-off-by: Harshith-umesh <[email protected]>
1 parent 221856c commit 8bec7b8

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/guidellm/__main__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
from guidellm.utils import DefaultGroupHandler
2020
from guidellm.utils import cli as cli_tools
2121

22+
# Import version information
2223
try:
2324
from guidellm.version import version
2425
except ImportError:
@@ -71,7 +72,7 @@ def benchmark():
7172
readable=True,
7273
file_okay=True,
7374
dir_okay=False,
74-
path_type=Path, # type: ignore[type-var]
75+
path_type=Path,
7576
),
7677
click.Choice(get_builtin_scenarios()),
7778
),

tests/unit/test_cli.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@ def test_version_flag_case_sensitivity():
8585
def test_version_integration_with_actual_version():
8686
"""Integration test to verify version matches what's in version.py."""
8787
try:
88-
from guidellm.version import version as actual_version
88+
from guidellm.version import (
89+
version as actual_version,
90+
)
8991

9092
runner = CliRunner()
9193
result = runner.invoke(cli, ["--version"])

0 commit comments

Comments
 (0)