Skip to content

Commit 65cae8b

Browse files
committed
chore: format cli module
1 parent 73877ef commit 65cae8b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/promptfoo/cli.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,7 @@ def _find_external_promptfoo() -> Optional[str]:
105105
if argv0_path and _normalize_path(promptfoo_path) == argv0_path:
106106
wrapper_dir = _normalize_path(os.path.dirname(promptfoo_path))
107107
path_entries = [
108-
entry
109-
for entry in _split_path(os.environ.get("PATH", ""))
110-
if _normalize_path(entry) != wrapper_dir
108+
entry for entry in _split_path(os.environ.get("PATH", "")) if _normalize_path(entry) != wrapper_dir
111109
]
112110
if path_entries:
113111
candidate = shutil.which("promptfoo", path=os.pathsep.join(path_entries))

0 commit comments

Comments
 (0)