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

Fix Colab-update pre-commit EOF bug #8810

Merged
merged 1 commit into from
Jul 31, 2022
Merged

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Jul 31, 2022

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Upgraded pre-commit hook settings to enhance code quality in repositories.

πŸ“Š Key Changes

  • Added a new configuration line within the pre-commit hook for end-of-file-fixer.

🎯 Purpose & Impact

  • πŸ›  Purpose: To avoid issues when updating files in Google Colab, which can sometimes change the end-of-file (EOF) format inadvertently.
  • βš™οΈ Impact: Developers contributing to the codebase will experience fewer merge conflicts and cleaner commits, specifically when working with Jupyter notebooks in Colab. This change ensures a smoother workflow and maintains code hygiene without affecting the functionality for the end-users.

@glenn-jocher glenn-jocher self-assigned this Jul 31, 2022
@glenn-jocher glenn-jocher merged commit 40c41e4 into master Jul 31, 2022
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-1 branch July 31, 2022 17:57
ctjanuhowski pushed a commit to ctjanuhowski/yolov5 that referenced this pull request Sep 8, 2022
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