Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable colors option #16

Open
humrochagf opened this issue Mar 27, 2019 · 1 comment
Open

Disable colors option #16

humrochagf opened this issue Mar 27, 2019 · 1 comment

Comments

@humrochagf
Copy link

Is there a way to turn off dose colors?

Currently, when I run dose at ubuntu it displays everything red even when the tests are passing:

red-text

So I tried to run my test command with rednose but even running with it dose overrides it.

The command that I tried was:

dose nosetests --rednose tests.py
@danilobellini
Copy link
Owner

I don't know if that's what you're looking for, but, in Linux, you can simply pipe it with cat:

dose nosetests --rednose tests.py | cat

I didn't test it with nose, but that works for pytest --color=yes (i.e., it keeps the pytest colors but not the dose colors).

(That's a workaround, I think this issue should be kept to add a CLI option to enable/disable that)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants