From 67e8c4f100903bf8111435f0ce574806d961cbad Mon Sep 17 00:00:00 2001 From: Tulio Magno Quites Machado Filho Date: Tue, 28 Mar 2023 12:10:24 -0300 Subject: Fix unsupported operands in .custom-format.py Python 3.11 complains that int and str are unsupported operand types for operator +. --- .custom-format.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.custom-format.py') diff --git a/.custom-format.py b/.custom-format.py index d07c26df..1295ce55 100755 --- a/.custom-format.py +++ b/.custom-format.py @@ -40,7 +40,7 @@ def check_clang_format_pip_version(): if importlib.util.find_spec('clang_format'): # Check if the installed version is the expected LLVM version if importlib.metadata.version('clang-format')\ - .startswith(CURRENT_LLVM+'.'): + .startswith(str(CURRENT_LLVM)+'.'): return True else: # Return False, because the clang-format version does not match -- cgit 1.4.1