Skip to content

fix: remove extraneous f-prefix from plain string literals#499

Open
Kailigithub wants to merge 1 commit into
lsdefine:mainfrom
Kailigithub:fix/lint-f541-extraneous-fstring
Open

fix: remove extraneous f-prefix from plain string literals#499
Kailigithub wants to merge 1 commit into
lsdefine:mainfrom
Kailigithub:fix/lint-f541-extraneous-fstring

Conversation

@Kailigithub
Copy link
Copy Markdown
Contributor

Summary

Remove extraneous f prefix from two plain string literals that contain no placeholders, following Ruff F541 rule.

Changes

File Line Fix
agentmain.py 140 f"\n[Peer] ...""\n[Peer] ..."
assets/code_run_header.py 27 print(f"\n[Agent Hint]...")print("\n[Agent Hint]...")

Testing

  • python3 -m py_compile agentmain.py assets/code_run_header.py — passes
  • ruff check --select F541 agentmain.py assets/code_run_header.py — All checks passed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant