Skip to content

Commit 48d3232

Browse files
Clean up
1 parent 6cfa119 commit 48d3232

File tree

2 files changed

+0
-36
lines changed

2 files changed

+0
-36
lines changed

.devcontainer/configure-azure-mount.py

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -96,29 +96,6 @@ def get_user_choice() -> str:
9696
return "2"
9797

9898

99-
# def backup_devcontainer_json() -> bool:
100-
# """Create a backup of the current devcontainer.json file."""
101-
# try:
102-
# backup_path = DEVCONTAINER_JSON_PATH.with_suffix(DEVCONTAINER_JSON_PATH.suffix + BACKUP_SUFFIX)
103-
104-
# if DEVCONTAINER_JSON_PATH.exists():
105-
# with open(DEVCONTAINER_JSON_PATH, 'r', encoding='utf-8') as src:
106-
# content = src.read()
107-
108-
# with open(backup_path, 'w', encoding='utf-8') as dst:
109-
# dst.write(content)
110-
111-
# print(f"✅ Backup created: {backup_path}")
112-
# return True
113-
# else:
114-
# print("❌ devcontainer.json not found")
115-
# return False
116-
117-
# except Exception as e:
118-
# print(f"❌ Failed to create backup: {e}")
119-
# return False
120-
121-
12299
def load_devcontainer_json() -> dict:
123100
"""Load and parse the devcontainer.json file."""
124101
try:
@@ -161,9 +138,6 @@ def save_devcontainer_json(config: dict) -> bool:
161138

162139
def configure_azure_mount(choice: str) -> bool:
163140
"""Configure Azure CLI mounting based on user choice."""
164-
# if not backup_devcontainer_json():
165-
# return False
166-
167141
config = load_devcontainer_json()
168142
if not config:
169143
return False

.devcontainer/verify-setup.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -203,16 +203,6 @@ def main():
203203
print("\n" + "="*50)
204204

205205
if all(checks):
206-
# print("🎉 All checks passed! Your dev container is ready to use.")
207-
# print("\n📋 Next steps:\n")
208-
# print("1. Configure Azure CLI: python .devcontainer/configure-azure-mount.py")
209-
# print("2. Or manually sign in with tenant-specific login:")
210-
# print(" az login --tenant <your-tenant-id-or-domain>")
211-
# print(" az account set --subscription <your-subscription-id-or-name>")
212-
# print(" az account show # Verify your context")
213-
# print("3. Execute shared/jupyter/verify-az-account.ipynb")
214-
# print("4. If prompted, initialize the kernel according to the `Initialization` steps in the root README.md file")
215-
# print("5. Explore the samples and infrastructure folders\n")
216206
return 0
217207
else:
218208
print("❌ Some checks failed. Please review the output above.")

0 commit comments

Comments
 (0)