-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
[Misc] Fix improper placement of SPDX header in scripts #12694
Conversation
When a file starts with '#!', the SPDX header needs to go after that. When looking for the SPDX header, find it on any line, not just the first. Finally, don't add an extra newline when injecting the header into a file. Signed-off-by: Russell Bryant <rbryant@redhat.com>
👋 Hi! Thank you for contributing to the vLLM project. Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging. To run CI, PR reviewers can do one of these:
🚀 |
Thanks for fixing! |
…#12694) Signed-off-by: Russell Bryant <rbryant@redhat.com> Signed-off-by: Felix Marty <felmarty@amd.com>
…#12694) Signed-off-by: Russell Bryant <rbryant@redhat.com>
…#12694) Signed-off-by: Russell Bryant <rbryant@redhat.com>
…#12694) Signed-off-by: Russell Bryant <rbryant@redhat.com>
When a file starts with '#!', the SPDX header needs to go after that.
When looking for the SPDX header, find it on any line, not just the
first.
Finally, don't add an extra newline when injecting the header into a
file.
Signed-off-by: Russell Bryant rbryant@redhat.com