Skip to content

Commit 7c80584

Browse files
fix: fixed pylint issues
1 parent 88a0630 commit 7c80584

5 files changed

Lines changed: 7 additions & 3 deletions

File tree

azure.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json
22

33
name: container-migration-solution-accelerator
4-
metadata:
5-
template: container-migration-solution-accelerator@1.0
4+
# metadata:
5+
# template: container-migration-solution-accelerator@1.0
66

77
requiredVersions:
88
azd: '>=1.18.2 != 1.23.9'

src/processor/src/agents/azure_expert/agent_info.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from agents.agent_info_util import MigrationPhase, load_prompt_text
22
from utils.agent_builder import AgentType, agent_info
33

4+
45
def get_agent_info(phase: MigrationPhase | str | None = None) -> agent_info:
56
"""Get Azure Expert agent info with optional phase-specific prompt.
67

src/processor/src/agents/eks_expert/agent_info.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from agents.agent_info_util import MigrationPhase, load_prompt_text
22
from utils.agent_builder import AgentType, agent_info
33

4+
45
def get_agent_info(phase: MigrationPhase | str | None = None) -> agent_info:
56
"""Get EKS Expert agent info with optional phase-specific prompt.
67

src/processor/src/libs/steps/analysis_step.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343

4444
logger = create_migration_logger(__name__)
4545

46+
4647
class AnalysisStepState(BaseStepState):
4748
"""State for the Analysis step following best practices."""
4849

@@ -942,7 +943,7 @@ async def execute_analysis(
942943
logger.info(
943944
f"[TIMING] Orchestration completed in {self.state.orchestration_duration:.2f} seconds"
944945
)
945-
946+
946947
# Track successful orchestration invocation
947948
await self.telemetry.update_agent_activity(
948949
process_id,

src/processor/src/utils/agent_builder.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ async def create_agent(
268268
)
269269
return agent_instance
270270

271+
271272
def create_kernel_plugin_info(plugin: KernelPlugin | object, name: str) -> pluginInfo:
272273
"""Create a plugin_info for a Kernel plugin (KernelPlugin instance or class with @kernel_function)."""
273274
return pluginInfo(plugin=plugin, plugin_name=name, is_mcp_plugin=False)

0 commit comments

Comments
 (0)