-
Notifications
You must be signed in to change notification settings - Fork 192
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
Template: set LICENSE copyright to nf-core community #3366
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files☔ View full report in Codecov by Sentry. |
Co-authored-by: Simon Pearce <24893913+SPPearce@users.noreply.github.com>
@@ -173,6 +174,12 @@ def _tf(file_path: Union[str, Path]) -> Path: | |||
shutil.copy(_tf(f), _pf(f)) | |||
passed.append(f"`{f}` matches the template") | |||
fixed.append(f"`{f}` overwritten with template file") | |||
elif f.name in ["LICENSE", "LICENSE.md", "LICENCE", "LICENCE.md"]: | |||
# Report LICENSE as a warning since we are not using the manifest.author names | |||
# TODO: Lint the content of the LICENSE file except the line containing author names |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this TODO still valid?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes :) we would have to lint for the text of the licensev (except copyright line) and make this a fail if it doesn't match. But I'm leaving this for the next version.
lint LICENSE file is a warning instead of a failure