darrenburns / pytest-clarity

A plugin to improve the output of pytest with colourful unified diffs
MIT License
439 stars 23 forks source link

Add flag for disabling output, regardless verbosity #24

Open eljulians opened 2 years ago

eljulians commented 2 years ago

Hello and thanks for the plugin!

Because the plugin depends on the verbosity flags, there may be scenarios in which it can be useful or convenient to decouple it and explicitly disable pytest-clarity, e.g. when you don't have control over the runner that doesn't have support for ANSI escape sequences.

I hope it makes sense!