Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Add option to update modules with linting #1588
Add option to update modules with linting #1588
Changes from 20 commits
c5c1901
f26c2d4
eb972a7
f3058b4
2374756
5b04b2b
e6b1af5
cee29f0
21d9a54
db7fac1
72c49c9
008350e
4c87e9d
e152b7b
52a60ab
106b60e
9d839cd
c1c4541
e6525ef
faef8ea
0122056
b288578
7b1538e
ef00ede
f205b15
877b6f6
3886ad1
eac514d
a5ba612
08e1b94
99bf430
550f6d2
af8e030
3e9076c
8e061f1
0037bf9
cfcf3b6
358bb0a
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Here I'm not sure if
--fix
alone is a good flag name or it would be better to call it--fix_version
. When running thenf-core modules lint
with a--fix
option, I would expect that this fixes potentially all the linting errors and not only the tool version. What do you think?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.
Or maybe in a similar way that
nf-core lint --fix
works, by providing which kind of linting failure should be fixed. E.g.nf-core modules lint --fix versions
. Not sure if it is possible to implement like this in this caseThere 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, that's true, it can also be misleading with the
--fix
option from the pipeline linting. I will do some refactoring to--fix_version
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.
I've checked the functionality of the
--fix
flag in the pipeline linting and I think it's different from what we have here with the version, as it allows the different lint tests, but the version fix is included in the linting of main.nf.I changed the name of the flag to
--fix-version
, and we can implement the option to run specific lint tests in a different PR, do you agree?