Michael Hall
Michael Hall
Yes, you're both correct. @bricoletc, even when I make it a normal docstring it doesn't change that example. I think this is something we have touched on in #118 and...
I think there is some confusion about docstrings and multiline strings. Python doesn't have heredocs > Other high-level languages such as [Python](https://en.wikipedia.org/wiki/Python_(programming_language)), [Julia](https://en.wikipedia.org/wiki/Julia_(programming_language)) and [Tcl](https://en.wikipedia.org/wiki/Tcl) have other facilities for multiline...
To confirm I have this correct, I will test out the fix I implemented for this issue and see how it performs on other heredoc-style strings and ensure we don't...
I guess my only reservation with that approach is whether there are examples other than a heredoc where the indenting in a multiline string matters?
@dariober this should now be fixed in https://github.com/mbhall88/snakefmt/commit/4c83e0692c1613f718671c414396a58aafe8bd5c. Feel free to try it out if you like. I will create a PR soon to get this into a release
Having empty rule keywords seems a bit ambiguous. There doesn't seem to be anything in the documentation that explicitly prohibits or allows it. I suspect when snakemake parses it, it...
Ok, well in the meantime, you can add empty strings `""` to the input for those rules and `snakefmt` should format your file.
Hi Francisco, it's a little hard without seeing the exact file you ran this on, but looking at the Snakefile in the repo you linked, it looks like https://github.com/franciscozorrilla/metaGEM/blob/b3f524dc79e5118c1796621d0be6771d0ce655f0/Snakefile#L577-L578 could...
This is probably a result of #151 I suspect. I'll try and take a look at it this week sorry.
This is not related to #151 in the end. Its a bit trickier. Leave it with me and I'll try get to the bottom of it soon.