From 6c5ddfe7d266bf51335444db32deac90412aa444 Mon Sep 17 00:00:00 2001 From: Sean Breckenridge Date: Sun, 14 Mar 2021 18:12:12 -0700 Subject: [PATCH] remove bad formatting in _fd_path --- my/coding/commits.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/my/coding/commits.py b/my/coding/commits.py index f36fc42..9ad9fc0 100644 --- a/my/coding/commits.py +++ b/my/coding/commits.py @@ -108,9 +108,7 @@ def canonical_name(repo: Path) -> str: def _fd_path() -> str: - fd_path: Optional[str] = ( - shutil.which("fdfind") or shutil.which("fd-find") or shutil.which("fd") - ) + fd_path: Optional[str] = shutil.which("fdfind") or shutil.which("fd-find") or shutil.which("fd") if fd_path is None: high(f"my.coding.commits requires 'fd' to be installed, See https://github.com/sharkdp/fd#installation") # TODO: this just causes it to fail if 'fd' can't be found, but the warning is still sent... seems fine?