From 5a07bf7b1c24a8692d513658a4c89f6d2bfab2e1 Mon Sep 17 00:00:00 2001 From: Jesse Mortenson Date: Tue, 10 Dec 2024 15:56:54 -0600 Subject: [PATCH] MT: events: fix linting --- scrapers/mt/events.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scrapers/mt/events.py b/scrapers/mt/events.py index 5dbab0c325..e142bb8ff7 100644 --- a/scrapers/mt/events.py +++ b/scrapers/mt/events.py @@ -115,10 +115,7 @@ def check_for_existing_event( self, title: str, start_date: datetime.datetime.date ) -> Union[Event, None]: for event in self._events: - if ( - event.name == title - and event.start_date == start_date - ): + if event.name == title and event.start_date == start_date: return event return None