Skip to content

Commit

Permalink
update linting on line length
Browse files Browse the repository at this point in the history
  • Loading branch information
clr182 committed Nov 1, 2024
1 parent 778136f commit ae80681
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bugsnag/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,9 @@ def remove_query_from_url(url: AnyStr) -> Optional[AnyStr]:
# fallback implementation for Python 3.5
try:
# this will raise if 'timespec' isn't supported
datetime.now(timezone.utc).isoformat(timespec='milliseconds')
datetime.now(timezone.utc).isoformat(
timespec='milliseconds' # type: ignore
)

def to_rfc3339(dt: datetime) -> str:
return dt.isoformat(timespec='milliseconds') # type: ignore
Expand Down

0 comments on commit ae80681

Please sign in to comment.