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)