darrenburns / pytest-clarity

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

disable output coloring #16

Open yuvalshi0 opened 3 years ago

yuvalshi0 commented 3 years ago

Hi,

In pytest project I'm using allure report to capture the assertion errors, but due to the shell coloring, the ouput seems off: image I was wondering if you think that adding --no-diff-color option?

blueyed commented 3 years ago

Might be a good idea to handle NO_COLOR (https://no-color.org/).

yuvalshi0 commented 3 years ago

I can try and make a pull request