Ask Your Question
1

Errors using black in remote activated environment

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

Bill Waggoner gravatar image

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 7.2.2.5 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

Comments

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

Wingware Support gravatar imageWingware Support ( 2020-04-29 09:46:41 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

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

Bill Waggoner gravatar image

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

Comments

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 gravatar imageWingware 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

2 followers

Stats

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

Seen: 26 times

Last updated: Apr 29