From ac73bb2a7337525af89be08da4cd918fe2441a50 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 bc46c0c0..8f1c4500 100644 --- a/stack_orchestrator/deploy/k8s/cluster_info.py +++ b/stack_orchestrator/deploy/k8s/cluster_info.py @@ -660,8 +660,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