https://github.com/prettier/prettier-emacs does formatting for javascript

wonder if there's an equivalent for python code?

1 Answer 1


Since Python has a lot of PEP regulations, one can use Black as their code formatter. This is found in the Elpy package or can be found on github.

  • darn, a lot of stars on in.. Thanks!
    – eugene
    Commented May 25, 2020 at 13:50
  • 1
    There is an emacs library that will automatically run black as well.
    – Att Righ
    Commented Jul 9, 2020 at 20:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.