Skip to content

Commit

Permalink
bypass wrong-import-position
Browse files Browse the repository at this point in the history
  • Loading branch information
ananya173147 committed Oct 14, 2023
1 parent bd7a00f commit 5518364
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/recommenderapp/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 2 additions & 0 deletions test/test_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down
2 changes: 2 additions & 0 deletions test/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit 5518364

Please sign in to comment.