-
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
nf-core lint searches vim tmp files #477
Comments
hah, oops.. Which linting step is this? |
Are you able to confirm which linting step you had this issue with? Just so that we can be sure to track down the error. Cheers, Phil |
I'm afraid not and I can't reproduce it now... I have opened the
main.nf in vim and have a .main.nf.swp file but do not get any
warnings from that. (I do get a number of other warnings though: conda
packages not up to date and a few TODOs, but not in vim files.)
nf-core is at version 1.7; not updated since November I believe.
|
I don’t think that the linting looks at main.nf at all, or any of the config files. It checks those by running If it’s ok, I’ll close this issue now. But please reopen if it happens again with the specific error / warning that you get from a temp file and it should be easy enough to track down. Phil |
I'm getting similar behaviour with TODO strings and vim undo-files ( |
Fix is to improve the code that ignores files in the Line 1167 in 8f3c482
At the moment it will only work with exact filename matches though, so will need to be extended to use |
Suggestion for glob patterns: |
Should work, though I don't know if any others use |
I can't see why we would need to commit any files ending in |
Files matching .*.sw? should probably not be included in what's linted.
The text was updated successfully, but these errors were encountered: