Skip to content

fix: add explicit encoding to read_text/write_text in optional-skills and root files - #51238

Closed
AlexFucuson9 wants to merge 1 commit into
NousResearch:mainfrom
AlexFucuson9:alex/fix-encoding-optional-skills-root
Closed

fix: add explicit encoding to read_text/write_text in optional-skills and root files#51238
AlexFucuson9 wants to merge 1 commit into
NousResearch:mainfrom
AlexFucuson9:alex/fix-encoding-optional-skills-root

Conversation

@AlexFucuson9

Copy link
Copy Markdown
Contributor

Summary

Add encoding="utf-8" to read_text()/write_text() calls in optional-skills/ and root files (cli.py, hermes_constants.py).

Ruff rule PLW1514.

Test plan

  • python3 -m py_compile passes for all files

… and root files

Fix 5 files with unencoded read_text()/write_text() calls.
Ruff rule PLW1514.
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 P3 Low — cosmetic, nice to have type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants