Skip to content

Commit 51503cd

Browse files
committed
Flake8 fixes
1 parent 5554921 commit 51503cd

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

azure/functions/decorators/mcp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def __init__(self,
2727

2828

2929
class MCPToolInput(InputBinding):
30-
30+
3131
@staticmethod
3232
def get_binding_name() -> str:
3333
return MCP_TOOL_INPUT
@@ -46,7 +46,7 @@ def __init__(self,
4646

4747

4848
class MCPToolOutput(OutputBinding):
49-
49+
5050
@staticmethod
5151
def get_binding_name() -> str:
5252
return MCP_TOOL_OUTPUT

azure/functions/mcp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def __init__(self, raw: typing.Any):
2121

2222

2323
class MCPToolTriggerConverter(meta.InConverter, binding='mcpToolTrigger',
24-
trigger=True):
24+
trigger=True):
2525

2626
@classmethod
2727
def check_input_type_annotation(cls, pytype: type) -> bool:

tests/decorators/test_mcp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ def test_trigger_converter(self):
6464
req = MCPToolTriggerConverter.decode(datum, trigger_metadata={})
6565
self.assertTrue(isinstance(req, MCPToolRequest))
6666
self.assertIsNotNone(req.json)
67-
68-
# Test with json data
67+
68+
# Test with json data
6969
datum_json = Datum(value={"arguments": {}}, type='json')
7070
req_json = MCPToolTriggerConverter.decode(datum_json, trigger_metadata={})
7171
self.assertTrue(isinstance(req_json, MCPToolRequest))

0 commit comments

Comments
 (0)