Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: Convert EOL characters for .txt files from Windows CLRF to UNIX LF #841

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

robbyt
Copy link
Contributor

@robbyt robbyt commented Jan 17, 2024

Please describe the purpose of this pull request.
Currently, MemGPT has a mix of UNIX (LF) and Windows (CRLF) newline characters. This inconsistency could cause issues with source control and parsing text files.

How to test
This change should not cause any problems, because the Python runtime detects the newline encoding format.

Have you tested this PR?
I smoke-tested this change by running a the quickstart from MacOS, and it works as expected.

Is your PR over 500 lines of code?
I'm glad to split this up to multiple PRs. I fixed all code in the repo by running find . -type f -name \*.txt -exec dos2unix {} \; but I can split this into smaller PRs if it's easier.

@robbyt robbyt changed the title Convert all Newline Characters to UNIX style: Convert all Newline Characters to UNIX Jan 17, 2024
@robbyt robbyt force-pushed the rterhaar/clrf branch 2 times, most recently from 33b8e3f to 111f9de Compare January 26, 2024 20:01
@robbyt robbyt changed the title style: Convert all Newline Characters to UNIX style: Convert EOL characters for .txt files from Windows CLRF to UNIX LF Jan 26, 2024
@robbyt
Copy link
Contributor Author

robbyt commented Jan 26, 2024

Note for the reviewer, I've reduced the scope of this change to only fix the .txt files

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.

None yet

1 participant