Skip to content

Commit

Permalink
fix: Linters
Browse files Browse the repository at this point in the history
  • Loading branch information
untitaker committed Jul 3, 2019
1 parent 59c010d commit 720fd2f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion sentry_sdk/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def capture_exception(
def add_breadcrumb(
crumb=None, # type: Optional[Breadcrumb]
hint=None, # type: Optional[BreadcrumbHint]
**kwargs # type: **Any
**kwargs # type: Any
):
# type: (...) -> None
hub = Hub.current
Expand Down
4 changes: 2 additions & 2 deletions sentry_sdk/hub.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ def last_event_id(self):
def bind_client(
self, new # type: Optional[Client]
):
# type: () -> None
# type: (...) -> None
"""Binds a new client to the hub."""
top = self._stack[-1]
self._stack[-1] = (new, top[1])
Expand Down Expand Up @@ -383,7 +383,7 @@ def add_breadcrumb(
self,
crumb=None, # type: Optional[Breadcrumb]
hint=None, # type: Optional[BreadcrumbHint]
**kwargs # type: **Any
**kwargs # type: Any
):
# type: (...) -> None
"""Adds a breadcrumb. The breadcrumbs are a dictionary with the
Expand Down
6 changes: 3 additions & 3 deletions sentry_sdk/transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ def capture_event(
raise NotImplementedError()

def flush(
self, # type; float
timeout, # type: Optional[Any]
callback=None,
self,
timeout, # type: float
callback=None, # type: Optional[Any]
):
# type: (...) -> None
"""Wait `timeout` seconds for the current events to be sent out."""
Expand Down

0 comments on commit 720fd2f

Please sign in to comment.