adafruit / Adafruit_CircuitPython_Requests

Requests-like interface for web interfacing
MIT License
51 stars 36 forks source link

Convert CRLF line ending to LF #181

Closed DJDevon3 closed 3 months ago

DJDevon3 commented 3 months ago

This file has 608 line endings in CRLF format instead of LF format and is making my local pre-commit throw about 600 errors. Because there's no actual line changes it won't allow me to submit without changing a line. So deleted a blank line . Can then commit to force the file to switch from CRLF to LF... hopefully.

I used Notepad++ with EOL symbols visible to ensure the switch from CRLF to LF. The only way it might stay as CRLF is if my Github desktop converts them back to CRLF (which is possible). This commit is an attempt to fix pre-commit errors.

Capture

The only change in this commit is to convert invisible line endings to LF and 1 deleted blank line.

justmobilize commented 3 months ago

@DJDevon3 this must of been from something on your side. The file does not have CRLF in the repo...

DJDevon3 commented 3 months ago

After looking into pre-commit and git configs I can see how dumb of a PR this is. Yes it's Github Desktop that is adding them on checkout. This is a problem specifically plaguing Windows Github Desktop users. I wrote a powershell script to fix it.