Skip to content

Commit b375954

Browse files
committed
style: Fix whitespace issues found by ruff
- Remove trailing whitespace from blank lines - Ensure code formatting compliance
1 parent be4e784 commit b375954

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/mockloop_mcp/mcp_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2849,7 +2849,7 @@ async def _load_openapi_spec(spec_url_or_path: str) -> dict[str, Any]:
28492849
# Check if it's a JSON string (starts with { or [)
28502850
if spec_url_or_path.strip().startswith(("{", "[")):
28512851
return json.loads(spec_url_or_path)
2852-
2852+
28532853
# Check if it's a URL
28542854
if spec_url_or_path.startswith(("http://", "https://")):
28552855
import aiohttp

tests/integration/test_mcp_proxy_integration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ def test_auth_handler_functionality(self, auth_configs):
368368
# Verify the function returns a valid response
369369
assert authenticated_request is not None
370370
assert "headers" in authenticated_request
371-
371+
372372
# Test that credentials were stored
373373
assert "test_api" in auth_handler.credentials
374374
assert auth_handler.credentials["test_api"]["auth_type"] == AuthType.API_KEY

0 commit comments

Comments
 (0)