Description of the bug
Currently nf-core modules update runs prettier on modules.json, but for example modules patch does not.
For git history this leads to problems with actually viewing the diffs, as git sees it as the entire file being rewritten. Is there a reason for the inconsistent usage of prettier, or could it just be made the default?
Currently dump has a false default:
def dump(self, run_prettier: bool = False) -> None:
And prettier is selectively run sporadically elsewhere in the code.
Description of the bug
Currently
nf-core modules updaterunsprettieronmodules.json, but for examplemodules patchdoes not.For git history this leads to problems with actually viewing the diffs, as git sees it as the entire file being rewritten. Is there a reason for the inconsistent usage of prettier, or could it just be made the default?
Currently dump has a false default:
And prettier is selectively run sporadically elsewhere in the code.