|
43 | 43 | "except ImportError as e:\n", |
44 | 44 | " print(f\"⚠️ dbx-patch is not installed: {e}\")\n", |
45 | 45 | " print(\"\\nInstall it with:\")\n", |
46 | | - " print(\" %pip install dbx-patch\")\n" |
| 46 | + " print(\" %pip install dbx-patch\")" |
47 | 47 | ] |
48 | 48 | }, |
49 | 49 | { |
|
111 | 111 | "\n", |
112 | 112 | "except ImportError as e:\n", |
113 | 113 | " print(f\"⚠️ Cannot import dbx_patch: {e}\")\n", |
114 | | - " print(\"Install dbx-patch first: %pip install dbx-patch\")\n" |
| 114 | + " print(\"Install dbx-patch first: %pip install dbx-patch\")" |
115 | 115 | ] |
116 | 116 | }, |
117 | 117 | { |
|
174 | 174 | " print(f\"⚠️ Error: {e}\")\n", |
175 | 175 | " import traceback\n", |
176 | 176 | "\n", |
177 | | - " traceback.print_exc()\n" |
| 177 | + " traceback.print_exc()" |
178 | 178 | ] |
179 | 179 | }, |
180 | 180 | { |
|
302 | 302 | "if result.editable_paths:\n", |
303 | 303 | " print(\"\\nEditable paths:\")\n", |
304 | 304 | " for path in result.editable_paths:\n", |
305 | | - " print(f\" - {path}\")\n" |
| 305 | + " print(f\" - {path}\")" |
306 | 306 | ] |
307 | 307 | }, |
308 | 308 | { |
|
356 | 356 | "print()\n", |
357 | 357 | "print(\"# Example:\")\n", |
358 | 358 | "print(\"# from your_package import some_function\")\n", |
359 | | - "print(\"# print(some_function())\")\n" |
| 359 | + "print(\"# print(some_function())\")" |
360 | 360 | ] |
361 | 361 | }, |
362 | 362 | { |
|
392 | 392 | "if result.importable_packages:\n", |
393 | 393 | " print(\"\\nImportable packages:\")\n", |
394 | 394 | " for pkg in result.importable_packages:\n", |
395 | | - " print(f\" • {pkg}\")\n" |
| 395 | + " print(f\" • {pkg}\")" |
396 | 396 | ] |
397 | 397 | }, |
398 | 398 | { |
|
0 commit comments