Commit 9d278a0
Keep pyqasm validate diagnostics on one line (#405)
Rich wraps console output at the detected width (80 when stdout is not a
tty). A file path longer than that was broken mid-token across lines, so
the reported path was neither copyable nor clickable, and the two CLI
tests asserting the absolute path failed whenever the repository sat at a
long enough filesystem path.
The error console now uses soft_wrap, which disables wrapping and
cropping while leaving markup intact.
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent a69bfcd commit 9d278a0
2 files changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
59 | 62 | | |
60 | 63 | | |
61 | 64 | | |
| |||
0 commit comments