Closed spacemanspiff2007 closed 4 years ago
Hi!
That should be possible. The wrapping happens down here in a pretty printer routine that is itself pretty convoluted but does already expose the linewrap argument. So it's just a question of wiring this argument all the way up from all the call sites of format_value to a top level config in format()
I'm pretty short on time currently, so I can't promise this will land quickly, though
I tried to implement it and it seems to work. Could you check the implementation and see if I missed something?
merged #32
(..and released in https://pypi.org/project/stackprinter/0.2.4 :tada:)
Hi, thank you for creating stackprinter! It is really nice.
I have a question: I'd like to prevent the the line wrap of the variables.
e.g.
to
would it be possible to add a parameter to
stackprinter.format
that prevents this?