Hello, I have to keep doing `nf-core pipelines lin...
# tools
o
Hello, I have to keep doing
nf-core pipelines lint --dir .  --fix rocrate_readme_sync
, do you know why? I’ve run it at least 3x in this PR: https://github.com/nf-core/proteinannotator/pull/9 (see: https://github.com/nf-core/proteinannotator/pull/9/commits/636cdb967988dc2612324df0d1ffcd41d1489a08) I have a feeling that it has to do with the editorconfig or something, because I had to change the file type of
tests/nextflow.config
to Plain Text to not lose the comment after this line:
Copy code
aws.client.anonymous = true // fixes S3 access issues on self-hosted runners
If it’s set as
Nextflow Config
type, then the comment is deleted. Could something be going on with the editors and autosave formatting?
p
Yup, it's the nextflow auto-formatter
It doesn't like inline comments currently (hoping to get a fix for that before long, but it's non-trivial)
So if you have the Nextflow formatter to format on save, it'll repeatedly strip these comments
o
Good to know, thank you!