Skip to content

Commit 57ff121

Browse files
committed
fix linting
1 parent 41e5785 commit 57ff121

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tap_exact/client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
from tap_exact.auth import ExactAuthenticator
1919

2020
if typing.TYPE_CHECKING:
21-
from datetime import datetime
2221

2322
from requests import Response
2423

@@ -105,7 +104,7 @@ def get_url_params(self, context: dict | None, next_page_token: str) -> dict[str
105104
if self.select:
106105
params["$select"] = self.select
107106
start_date = self.get_starting_timestamp(context)
108-
if start_date != None:
107+
if start_date is not None:
109108
date_filter = f"Modified gt datetime'{start_date.strftime('%Y-%m-%dT%H:%M:%S')}'"
110109
params["$filter"] = date_filter
111110
if next_page_token:

0 commit comments

Comments
 (0)