From 55183648b662bca147ffd47d83371452dc96cb04 Mon Sep 17 00:00:00 2001 From: ananya173147 Date: Sat, 14 Oct 2023 13:10:59 -0400 Subject: [PATCH] bypass wrong-import-position --- src/recommenderapp/app.py | 2 ++ test/test_search.py | 2 ++ test/tests.py | 2 ++ 3 files changed, 6 insertions(+) diff --git a/src/recommenderapp/app.py b/src/recommenderapp/app.py index 85c702f81..5d37ac330 100644 --- a/src/recommenderapp/app.py +++ b/src/recommenderapp/app.py @@ -11,7 +11,9 @@ from utils import beautify_feedback_data, send_email_to_user sys.path.append("../../") +#pylint: disable=wrong-import-position from src.prediction_scripts.item_based import recommend_for_new_user +#pylint: enable=wrong-import-position app = Flask(__name__) app.secret_key = "secret key" diff --git a/test/test_search.py b/test/test_search.py index bc796a89f..fd02f02ec 100644 --- a/test/test_search.py +++ b/test/test_search.py @@ -6,7 +6,9 @@ import unittest import warnings sys.path.append("../") +#pylint: disable=wrong-import-position from src.recommenderapp.search import Search +#pylint: enable=wrong-import-position warnings.filterwarnings("ignore") diff --git a/test/tests.py b/test/tests.py index e0c68311e..5021f14e3 100644 --- a/test/tests.py +++ b/test/tests.py @@ -6,7 +6,9 @@ import unittest import warnings sys.path.append("../") +#pylint: disable=wrong-import-position from src.prediction_scripts.item_based import recommend_for_new_user +#pylint: enable=wrong-import-position warnings.filterwarnings("ignore")