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

Trim trailing whitespace and normalize newlines. #1633

Merged
merged 4 commits into from
Apr 16, 2024

Conversation

bdice
Copy link
Contributor

@bdice bdice commented Apr 15, 2024

Description

Closes #1632.

This PR uses hooks provided by https://github.com/pre-commit/pre-commit-hooks to enforce that trailing whitespace is trimmed and that all files have consistent line endings.

I also updated the devcontainer configuration to trim trailing whitespace and end files with \n by default.

Checklist

  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@bdice bdice requested review from a team as code owners April 15, 2024 18:25
@miscco miscco merged commit f4a7ca3 into NVIDIA:main Apr 16, 2024
589 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[FEA]: Trim trailing whitespace and normalize newlines.
3 participants