From ca587d567c71b015f48b36863c898d2e2f97efe9 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 24 Feb 2023 15:37:42 +0100 Subject: [PATCH] Fix paths in the auto-formatting tools Those got missed in the submodule change commit. --- tools/utils_maintenance/autopep8_format_paths.py | 2 +- tools/utils_maintenance/clang_format_paths.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/utils_maintenance/autopep8_format_paths.py b/tools/utils_maintenance/autopep8_format_paths.py index c8991a10524..2412aad2bfd 100755 --- a/tools/utils_maintenance/autopep8_format_paths.py +++ b/tools/utils_maintenance/autopep8_format_paths.py @@ -28,7 +28,7 @@ VERSION_MIN = (1, 6, 0) VERSION_MAX_RECOMMENDED = (1, 6, 0) AUTOPEP8_FORMAT_CMD = "autopep8" -BASE_DIR = os.path.normpath(os.path.join(os.path.dirname(__file__), "..", "..", "..")) +BASE_DIR = os.path.normpath(os.path.join(os.path.dirname(__file__), "..", "..")) os.chdir(BASE_DIR) diff --git a/tools/utils_maintenance/clang_format_paths.py b/tools/utils_maintenance/clang_format_paths.py index fa7ce98edfe..3f6d1dec485 100755 --- a/tools/utils_maintenance/clang_format_paths.py +++ b/tools/utils_maintenance/clang_format_paths.py @@ -26,7 +26,7 @@ VERSION_MIN = (8, 0, 0) VERSION_MAX_RECOMMENDED = (12, 0, 0) CLANG_FORMAT_CMD = "clang-format" -BASE_DIR = os.path.normpath(os.path.join(os.path.dirname(__file__), "..", "..", "..")) +BASE_DIR = os.path.normpath(os.path.join(os.path.dirname(__file__), "..", "..")) os.chdir(BASE_DIR) -- 2.30.2