Hi,
I installed Black as a vim plugin and it outputs errors whenever I execute :Black (formatting is applied) it's annoying! how can I hide those errors? ("error detected while processing bufwrite") see screenshots
I have this command on my .vimrc
autocmd BufWritePre *.py execute ':Black'


Operating system: Ubuntu 18.04
Python version: 3.6.7
Black version: latest (not sure just installed the latest vim plugin from github)
For those looking for a workaround for now:
If you need to do anything special to make your virtualenv work and install Black (for example you want to run a version from master), create a virtualenv manually and point g:black_virtualenv to it. The plugin will use it.
Just install black==18.9b0 for now.
Duplicate of #755.
Most helpful comment
For those looking for a workaround for now:
Just install
black==18.9b0for now.Duplicate of #755.