Skip to content

fix: remove useless f-string prefix from 85 static strings (batch 3) - #52262

Closed
AlexFucuson9 wants to merge 1 commit into
NousResearch:mainfrom
AlexFucuson9:fix/remove-useless-fstring-batch3
Closed

AlexFucuson9 wants to merge 1 commit into
NousResearch:mainfrom
AlexFucuson9:fix/remove-useless-fstring-batch3

Conversation

@AlexFucuson9

Copy link
Copy Markdown
Contributor

Problem

Strings with no {expressions} don't need the f prefix. The f-prefix adds unnecessary overhead and confuses readers who expect interpolated values.

Files changed (85 fixes in 5 files)

File Changes
cron/scheduler.py 21
hermes_cli/config.py 19
hermes_cli/kanban_diagnostics.py 19
hermes_cli/memory_setup.py 17
hermes_cli/web_server.py 9

Follow-up to PR #52254 (batch 1, 153 fixes) and #52258 (batch 2, 144 fixes).

Strings with no {expressions} don't need the f-prefix. The f-prefix
adds unnecessary overhead and confuses readers who expect interpolated
values.

Fixes 85 occurrences in 5 files:
- cron/scheduler.py (21)
- hermes_cli/config.py (19)
- hermes_cli/kanban_diagnostics.py (19)
- hermes_cli/memory_setup.py (17)
- hermes_cli/web_server.py (9)

Follow-up to PR NousResearch#52254 (batch 1) and NousResearch#52258 (batch 2).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/cli CLI entry point, hermes_cli/, setup wizard comp/cron Cron scheduler and job management P3 Low — cosmetic, nice to have type/refactor Code restructuring, no behavior change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants