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

Add pre-commit and .gitattributes for small style fixes and EOL normalisation #452

Closed
wants to merge 6 commits into from

Conversation

Mikaela
Copy link
Collaborator

@Mikaela Mikaela commented Jul 16, 2023

I was hoping the large file check would detect #449 and give instructions for proceeding, but while that didn't happen, this configuration hit a lot of missing EOFs, trailing whitespaces and one incident of executable .desktop.

The EOL normalisation is something I am just used to performing for my repositories as eol=lf while this just looks at which platform git is ran on and uses lf on Linux and macOS, crlf on Windows and I think internally everything is lf. A couple of files that appear rewritten were caught by git add --renormalize ..

In case this is desirable, the next step would be enabling https://pre-commit.ci for the repository

@Mikaela
Copy link
Collaborator Author

Mikaela commented Oct 16, 2023

At least the checks pass now

@Mikaela Mikaela marked this pull request as ready for review October 16, 2023 12:54
@basings basings mentioned this pull request Jan 23, 2024
@Henry-Hiles Henry-Hiles mentioned this pull request Feb 7, 2024
Copy link

This pull request is stale because it has been open for 120 days with no activity.

@github-actions github-actions bot added the stale The item is going to be closed soon because of inactivity label Feb 15, 2024
@Mikaela
Copy link
Collaborator Author

Mikaela commented Feb 15, 2024

I guess I should update this as there are new merge conflicts

@Mikaela
Copy link
Collaborator Author

Mikaela commented Feb 15, 2024

Or not as I have headache and there is no interest anyway.

@Mikaela Mikaela closed this Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale The item is going to be closed soon because of inactivity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant