Ask Your Question

Errors using black in remote activated environment

asked 2020-04-29 09:45:04 -0500

Bill Waggoner's avatar

updated 2020-04-29 15:24:16 -0500

I have started using Black for reformatting but I'm having trouble in my remote activated environment (pyenv virtualenv).

I was getting timeouts for black but just updated to and am seeing Error executing command .internal.edit.black_file

So, the timeouts have gone away but it still isn't working.

edit retag flag offensive close merge delete


Could you submit a bug report from Wing's help menu and include the error log?

Wingware Support's avatar Wingware Support  ( 2020-04-29 09:46:41 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2020-04-29 10:36:15 -0500

Bill Waggoner's avatar

My apologies. It is actually working. My problem was that there was a subtle syntax error and black abandoned the reformat. No errors were displayed in Wing though. Once I ran pylint and corrected the error then black worked fine.

edit flag offensive delete link more


No problem! Clearly we should be reporting total failure of black to run in some way, so I'm marking this as a bug report.

Wingware Support's avatar Wingware Support  ( 2020-04-29 15:24:51 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2020-04-29 09:45:04 -0500

Seen: 233 times

Last updated: Apr 29 '20