Commit 979e10a
Fix f-string syntax error in generate_docs.py
Fixed E999 SyntaxError where f-string expression contained a backslash.
Moved the replace operation outside the f-string expression to comply
with Python syntax rules.
Before: f"`{command_name_raw.replace('|', '\\|')}`"
After: Split into two lines with variable assignment first
This fixes the flake8 lint error in GitHub Actions CI/CD.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent aebfb10 commit 979e10a
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
| |||
0 commit comments