mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-01 20:19:26 -06:00
- Move import sys to top-level scope (not inside function) - Extract repeated string constants as named constants - Use pathlib.Path for file operations instead of string concatenation - Replace string concatenation with f-strings throughout - Add truncate_text utility function to avoid code duplication - Fix bug where ellipsis was always added even for short text 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>