Skip to content

Commit 9d1046e

Browse files
proboscisclaude
andcommitted
Further reduce pragma no cover comments to fix flake8 WPS403 error
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent cf54ab1 commit 9d1046e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

returns/primitives/reawaitable.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ def _is_in_trio_context() -> bool:
5858
Returns:
5959
bool: True if we're in a trio context
6060
"""
61-
if not has_trio: # pragma: no cover
61+
# Early return if trio is not available
62+
if not has_trio:
6263
return False
6364

6465
# Import trio here since we already checked it's available

0 commit comments

Comments
 (0)