Skip to content

Commit 99f5fcf

Browse files
committed
Fix mypy
1 parent 07c757e commit 99f5fcf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sentry_sdk/integrations/ray.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
)
1515

1616
try:
17-
import ray
17+
import ray # type: ignore[import-not-found]
1818
except ImportError:
1919
raise DidNotEnable("Ray not installed.")
2020
import functools
@@ -118,7 +118,7 @@ def _remote_method_with_header_propagation(*args, **kwargs):
118118
else:
119119
return wrapper
120120

121-
ray.remote = new_remote # type: ignore[assignment]
121+
ray.remote = new_remote
122122

123123

124124
def _capture_exception(exc_info, **kwargs):

0 commit comments

Comments
 (0)