-
Notifications
You must be signed in to change notification settings - Fork 683
Repo config file for lint / format #5934
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
Comments
Similar to |
Both format looks human readable, so I'm happy. |
Agreed. Leaning towards toml, but would be happy with either. |
I'm pro toml |
I'd say that |
I'm very much in favour of |
Could |
I wondered the same, I had a brief look into it but I don't think that it can be extended unfortunately. Not without it becoming invalid for editorconfig. If anyone else thinks otherwise I'd be happy to be shown that I'm wrong though! 😅 I really dislike dotfile / config files polluting repository root dirs 😓 |
Putting down some ideas for a potential new config file to be used by the new Nextflow
lint
andformat
commands.Starting position:
nextflow.config
as separation of concerns, also potentially a bit recursive.nextflowignore
to ignore files only, adaptable for more functionality)To make it clear what this is for, I'd suggest calling this thing
nextflowrc
, following the *nix convention withrc
files for startup config / actions. It could be a hidden.nextflowrc.*
dotfile or not, I could go either way.With this, my initial stab is either YAML or TOML. Here's a very rough first draft with some suggestions for things that we may want to configure
nextflowrc.yml
Or toml, as used by
pyproject.toml
andnetlify.toml
etc:nextflowrc.toml
Note that we could support multiple formats, though I'm not sure that this would add much.
To avoid the proliferation of root-level config files, it may be possible for @nf-core to consider adopting this new file to replace
.nf-core.yml
(probably optionally), in annf-core
section in the file.Thoughts + feedback welcome!
The text was updated successfully, but these errors were encountered: