Skip to content

Commit

Permalink
Format code with Black and Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaacCheng9 authored and actions-user committed Oct 5, 2023
1 parent a75df43 commit 01f0bd7
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class Migration(migrations.Migration):

initial = True

dependencies = []
Expand Down
1 change: 0 additions & 1 deletion src/student_network/helpers/helper_quizzes.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ def validate_quiz(
def make_quiz(
quiz_name: str, questions: list, answers: list, author: str, date_created: date
):

valid, message = validate_quiz(quiz_name, questions, answers)
print(valid, message, quiz_name, questions, answers)
if valid:
Expand Down
2 changes: 0 additions & 2 deletions src/student_network/views/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

@chat_blueprint.route("/chat")
def chat():

chat_rooms = helper_general.get_rooms()

return render_template(
Expand All @@ -34,7 +33,6 @@ def chat():

@chat_blueprint.route("/chat/<username>")
def chat_username(username):

chat_rooms = helper_general.get_rooms()

messages = helper_general.get_messages(username)[0]
Expand Down
1 change: 0 additions & 1 deletion src/student_network/views/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ def profile(username: str) -> object:

# If the user is logged in, specific features can then be displayed.
if session.get("username"):

if username == session["username"]:
# Gets the user's posts regardless of post settings if user is the
# owner of the profile.
Expand Down

0 comments on commit 01f0bd7

Please sign in to comment.