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

Template: set LICENSE copyright to nf-core community #3366

Merged
merged 5 commits into from
Dec 20, 2024

Conversation

mirpedrol
Copy link
Member

lint LICENSE file is a warning instead of a failure

Copy link

codecov bot commented Dec 19, 2024

Codecov Report

Attention: Patch coverage is 60.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 75.95%. Comparing base (728a91c) to head (304728c).
Report is 9 commits behind head on dev.

Files with missing lines Patch % Lines
nf_core/pipelines/lint/files_unchanged.py 60.00% 2 Missing ⚠️
Additional details and impacted files

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

CHANGELOG.md Outdated Show resolved Hide resolved
mirpedrol and others added 2 commits December 20, 2024 10:06
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
Copy link
Member

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?

Copy link
Member Author

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.

@mirpedrol mirpedrol merged commit a0cdd41 into nf-core:dev Dec 20, 2024
88 checks passed
@mirpedrol mirpedrol deleted the update-license-linting branch December 20, 2024 09:46
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.

4 participants