Skip to content

Commit c22e551

Browse files
pcarletonclaude
andcommitted
Fix CI failures: formatting and coverage
- Add missing blank line after function definition (ruff-format) - Add pragma: no cover to mock function not executed in test 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 684eafd commit c22e551

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

examples/clients/conformance-auth-client/mcp_conformance_auth_client/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ def get_conformance_context() -> dict:
5858
except json.JSONDecodeError as e:
5959
raise RuntimeError(f"Failed to parse MCP_CONFORMANCE_CONTEXT as JSON: {e}") from e
6060

61+
6162
# Set up logging to stderr (stdout is for conformance test output)
6263
logging.basicConfig(
6364
level=logging.DEBUG,

tests/client/auth/extensions/test_client_credentials.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ class TestPrivateKeyJWTOAuthProvider:
282282
async def test_init_sets_client_info(self, mock_storage: MockTokenStorage):
283283
"""Test that _initialize sets client_info."""
284284

285-
async def mock_assertion_provider(audience: str) -> str:
285+
async def mock_assertion_provider(audience: str) -> str: # pragma: no cover
286286
return "mock-jwt"
287287

288288
provider = PrivateKeyJWTOAuthProvider(

0 commit comments

Comments
 (0)