Skip to content

Commit a9de1fc

Browse files
narrow type ignore
1 parent beddbf8 commit a9de1fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sentry_sdk/_compat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def enabled(option: str) -> bool:
5454
except Exception:
5555
pass
5656

57-
return value and str(value).lower() not in FALSE_VALUES # type: ignore
57+
return value and str(value).lower() not in FALSE_VALUES # type: ignore[return-value]
5858

5959
# When `threads` is passed in as a uwsgi option,
6060
# `enable-threads` is implied on.

0 commit comments

Comments
 (0)