From e134208bdbda7946d65558721ace089b260da796 Mon Sep 17 00:00:00 2001 From: Arnim Rupp <46819580+ruppde@users.noreply.github.com> Date: Mon, 9 Oct 2023 12:35:29 +0200 Subject: [PATCH] Update utils.py fix black --- yls/utils.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/yls/utils.py b/yls/utils.py index 19cd6bd..f65e52e 100644 --- a/yls/utils.py +++ b/yls/utils.py @@ -489,10 +489,10 @@ def is_hash(i: str) -> bool: We accept upper and lowercase hashes""" return ( - re.fullmatch("[0-9a-f]{32}", i, flags=re.IGNORECASE) or - re.fullmatch("[0-9a-f]{40}", i, flags=re.IGNORECASE) or - re.fullmatch("[0-9a-f]{64}", i, flags=re.IGNORECASE) - ) is not None + re.fullmatch("[0-9a-f]{32}", i, flags=re.IGNORECASE) + or re.fullmatch("[0-9a-f]{40}", i, flags=re.IGNORECASE) + or re.fullmatch("[0-9a-f]{64}", i, flags=re.IGNORECASE) + ) is not None def markdown_content(value: str) -> lsp_types.MarkupContent: