From 1cfe0dcafcefd10706259ec36464abbef276184f Mon Sep 17 00:00:00 2001 From: "Code Hugger (Matthew Jones)" Date: Fri, 3 Jan 2025 16:46:16 -0500 Subject: [PATCH 1/2] find_missing_modules should import rather than append to prioritize local Fixes #675 --- scripts/find_missing_modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/find_missing_modules.py b/scripts/find_missing_modules.py index 37c205aa..72adc2c0 100644 --- a/scripts/find_missing_modules.py +++ b/scripts/find_missing_modules.py @@ -2,7 +2,7 @@ import os import sys -sys.path.append(os.path.join(sys.path[0], "..")) +sys.path.insert(0,(os.path.join(sys.path[0], ".."))) import canvasapi # noqa From 1696321b885513729ad64e9b414c94d651197b45 Mon Sep 17 00:00:00 2001 From: "Code Hugger (Matthew Jones)" Date: Fri, 3 Jan 2025 18:29:34 -0500 Subject: [PATCH 2/2] Update find_missing_modules.py Missing whitespace --- scripts/find_missing_modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/find_missing_modules.py b/scripts/find_missing_modules.py index 72adc2c0..0e79c1cd 100644 --- a/scripts/find_missing_modules.py +++ b/scripts/find_missing_modules.py @@ -2,7 +2,7 @@ import os import sys -sys.path.insert(0,(os.path.join(sys.path[0], ".."))) +sys.path.insert(0, (os.path.join(sys.path[0], ".."))) import canvasapi # noqa