MrAWD
MrAWD

Reputation: 35

Configured Eclipse with pyDev for running black and isort and it is not doing either since the latest Eclipse update

I have isort selected like this: enter image description here and black is configured like this: enter image description here, but since the last Eclipse update, they are not formatting and sorting my code any more

Even keeping one line between the methods and two empty lines between the functions and classes is not adjusted. Same goes for "a=b", which used to be changed to "a = b"

I was checking my configuration for anything that would help with this, but couldn't find anything there. Right now, I have no other ideas what to do to fix this

Upvotes: 0

Views: 89

Answers (1)

Aloke
Aloke

Reputation: 165

Perhaps black & isort are not installed. Check with 'pip list'. Install them (pip install), restart eclipse & then try.

Works fine here on Eclipse (2024-06) & PyDev (12.1.0).

Upvotes: 0

Related Questions