John Didion

Results 221 comments of John Didion

My feeling was that the most common usage for multi-line strings will be to break up long strings. If you want to write bash, you put that in the command...

Personally, I find it very annoying to have to litter my Scala code with `.stripMargin.replaceAll("\n", " ")`. I agree that "least surprising" is a good approach, but I also feel...

Fair enough. Let's wait to get a bit more feedback from others. I'm happy to update the spec and grammar if the consensus is to leave in whitespace by default.

Ok, how about: * By default, leave newlines and strings alone * If a line is prefixed by `|`, automatically strip all the leading whitespace before it (as well as...

Oh, good point. In that case I guess we may need a `trim_leading_whitespace` function. By default this would strip the least number of common spaces/tabs after each newline. We could...

A simpler alternative would be a `dedent` function (akin to the one in python textwrap https://docs.python.org/3/library/textwrap.html#textwrap.dedent) that just removes leading common whitespace, and not try to have a syntax for...

These are intended to be put in hints section. Please note that the changes are not proposed, they are approved and merged into the development spec.

It might help if you give a concrete example. What types of cloud- or executor-specific attributes need to be requirements rather than hints?

That could work. I don't have much experience with conda - are the installed binaries static such that I can use multi-stage build in Docker and copy just the vcflib...

@mlin @illusional I have already starting working on a simple implementation of this using Jinja2 templates and very opinionated formatting (like black). The only problem I've encountered is that the...