From 07648a5a3738ad4288ca1b4d3aaad3de9aa84327 Mon Sep 17 00:00:00 2001
From: Ethan Nguyen <etnguyen03@hotmail.com>
Date: Mon, 10 Apr 2023 23:10:12 -0500
Subject: [PATCH] chore: fix linter

---
 tjdests/apps/authentication/views.py | 4 ++--
 tjdests/apps/destinations/views.py   | 4 +++-
 tjdests/apps/profile/forms.py        | 4 ++--
 3 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/tjdests/apps/authentication/views.py b/tjdests/apps/authentication/views.py
index a7c35a3..26a6ac8 100644
--- a/tjdests/apps/authentication/views.py
+++ b/tjdests/apps/authentication/views.py
@@ -45,8 +45,8 @@ def accept_tos_view(request: HttpRequest) -> HttpResponse:
         form = TOSForm(request.POST)
 
         if form.is_valid():
-            accept_tos: bool = form.cleaned_data.get("accept_tos")
-            request.user.accepted_terms = accept_tos
+            accept_tos = form.cleaned_data.get("accept_tos")  # type: ignore
+            request.user.accepted_terms = accept_tos  # type: ignore
             request.user.set_password(form.cleaned_data.get("password"))
             request.user.save()
 
diff --git a/tjdests/apps/destinations/views.py b/tjdests/apps/destinations/views.py
index 73bfde4..2bff0a5 100644
--- a/tjdests/apps/destinations/views.py
+++ b/tjdests/apps/destinations/views.py
@@ -42,7 +42,9 @@ class StudentDestinationListView(
         search_query = self.request.GET.get("q", None)
         if search_query is not None:
             queryset = queryset.filter(
-                Q(first_name__icontains=search_query)
+                Q(  # pylint: disable=unsupported-binary-operation
+                    first_name__icontains=search_query
+                )
                 | Q(last_name__icontains=search_query)
                 | Q(nickname__icontains=search_query)
                 | Q(biography__icontains=search_query)
diff --git a/tjdests/apps/profile/forms.py b/tjdests/apps/profile/forms.py
index 436ed11..1a566c6 100644
--- a/tjdests/apps/profile/forms.py
+++ b/tjdests/apps/profile/forms.py
@@ -19,12 +19,12 @@ class ProfilePublishForm(forms.ModelForm):
 
         self.helper.add_input(Submit("submit", "Submit"))
 
-        self.fields["attending_decision"].queryset = Decision.objects.filter(
+        self.fields["attending_decision"].queryset = Decision.objects.filter(  # type: ignore
             user=self.instance, admission_status__contains="ADMIT"
         )
 
     def clean(self) -> Dict[str, Any]:
-        data = self.data.copy()
+        data = self.data.copy()  # type: ignore
 
         # Remove carriage returns from biography
         if data.get("biography"):