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")