Skip to content

Commit 720fd2f

Browse files
committed
fix: Linters
1 parent 59c010d commit 720fd2f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

sentry_sdk/api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def capture_exception(
8484
def add_breadcrumb(
8585
crumb=None, # type: Optional[Breadcrumb]
8686
hint=None, # type: Optional[BreadcrumbHint]
87-
**kwargs # type: **Any
87+
**kwargs # type: Any
8888
):
8989
# type: (...) -> None
9090
hub = Hub.current

sentry_sdk/hub.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ def last_event_id(self):
304304
def bind_client(
305305
self, new # type: Optional[Client]
306306
):
307-
# type: () -> None
307+
# type: (...) -> None
308308
"""Binds a new client to the hub."""
309309
top = self._stack[-1]
310310
self._stack[-1] = (new, top[1])
@@ -383,7 +383,7 @@ def add_breadcrumb(
383383
self,
384384
crumb=None, # type: Optional[Breadcrumb]
385385
hint=None, # type: Optional[BreadcrumbHint]
386-
**kwargs # type: **Any
386+
**kwargs # type: Any
387387
):
388388
# type: (...) -> None
389389
"""Adds a breadcrumb. The breadcrumbs are a dictionary with the

sentry_sdk/transport.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ def capture_event(
5959
raise NotImplementedError()
6060

6161
def flush(
62-
self, # type; float
63-
timeout, # type: Optional[Any]
64-
callback=None,
62+
self,
63+
timeout, # type: float
64+
callback=None, # type: Optional[Any]
6565
):
6666
# type: (...) -> None
6767
"""Wait `timeout` seconds for the current events to be sent out."""

0 commit comments

Comments
 (0)