Skip to content

Commit

Permalink
Merge pull request #1763 from lerouxrgd/patch-1
Browse files Browse the repository at this point in the history
Fix a fatal typo in elpy-format-code
  • Loading branch information
galaunay committed Mar 26, 2020
2 parents b69ae76 + 262621b commit 19ec419
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions elpy.el
Expand Up @@ -2279,10 +2279,10 @@ prefix argument is given, prompt for a symbol from the user."
(when (interactive-p) (message "Autoformatting code with yapf."))
(elpy-yapf-fix-code))
((elpy-config--package-available-p "autopep8")
((when (interactive-p) message "Autoformatting code with autopep8."))
(when (interactive-p) (message "Autoformatting code with autopep8."))
(elpy-autopep8-fix-code))
((elpy-config--package-available-p "black")
((when (interactive-p) message "Autoformatting code with black."))
(when (interactive-p) (message "Autoformatting code with black."))
(elpy-black-fix-code))
(t
(message "Install yapf/autopep8 to format code."))))
Expand Down

0 comments on commit 19ec419

Please sign in to comment.