pytestify icon indicating copy to clipboard operation
pytestify copied to clipboard

Re-think multiline slashes

Open dannysepler opened this issue 4 years ago • 0 comments

python black does this:

assert some_really_really_really_long_thing == some_other_really_really_really_long_thing, "this is an error message"

...

assert (
    some_really_really_really_long_thing == some_other_really_really_really_long_thing
), "this is an error message"

instead of using slashes, and i think that's a pretty good idea. plus it helps with inline comments which currently are syntactically breaking

dannysepler avatar Sep 28 '21 19:09 dannysepler