From b77037c73df78232a2805d059577954b0f99954e Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Fri, 6 Mar 2026 09:26:12 +0000 Subject: [PATCH] fix: remove shadowed os import in cluster_info Inline `import os` at line 663 shadowed the top-level import, causing flake8 F402. Co-Authored-By: Claude Opus 4.6 --- stack_orchestrator/deploy/k8s/cluster_info.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/stack_orchestrator/deploy/k8s/cluster_info.py b/stack_orchestrator/deploy/k8s/cluster_info.py index be00142f..4ddf46d6 100644 --- a/stack_orchestrator/deploy/k8s/cluster_info.py +++ b/stack_orchestrator/deploy/k8s/cluster_info.py @@ -696,8 +696,6 @@ class ClusterInfo: ) # Derive job name from file path: docker-compose-.yml -> - import os - base = os.path.basename(job_file) # Strip docker-compose- prefix and .yml suffix job_name = base