From 3d43be3d69283205fccab77239ee6f85cbe06f7b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 6 Oct 2023 14:18:08 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- babi/prompt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/babi/prompt.py b/babi/prompt.py index 6e15a84..13a128f 100644 --- a/babi/prompt.py +++ b/babi/prompt.py @@ -110,7 +110,7 @@ def _tab(self) -> None: def _complete_file(self) -> None: # only allow completion at the end of the prompt or before a separator - if self._x != len(self._s) and self._s[self._x] not in ("/", " "): + if self._x != len(self._s) and self._s[self._x] not in ('/', ' '): return partial = self._s[:self._x] completions = glob.glob(f'{partial}*')