Black: Allow to disable emoji in output

Created on 18 May 2018  路  4Comments  路  Source: psf/black

As an environment variable (e.g. BLACK_HIDE_EMOJIS) or as an option.

All 4 comments

What's your motivation?

emoji support can be problematic on some platform. https://debbugs.gnu.org/cgi/bugreport.cgi?bug=30045

The reason why I noticed you can't toggle emojis is that my terminal crashed when using black . Currently I solved by sending stderr of black to devnull.

This sounds like something that should be fixed or worked around in your terminal, not in end-user tools that use Unicode characters. I happen to have a non-Latin 1 character in my first name so I'm rather sensitive to bad Unicode support.

I see your point. Also, I didn't noticed there's a --quiet option in black. Closing this.

Was this page helpful?
0 / 5 - 0 ratings