         (setq elpy-rpc-python-command "python3")
         (setq python-shell-interpreter "python3")))
 
+  (use-package jedi
+    :ensure t)
+
+  (use-package py-autopep8
+    :ensure t
+    :config
+    (setq py-autopep8-options '("--aggressive" "--aggressive"))
+    (add-hook 'elpy-mode-hook 'py-autopep8-enable-on-save))
+
   ;; Use flycheck instead of flymake
   (when (require 'flycheck nil t)
     (setq elpy-modules (delq 'elpy-module-flymake elpy-modules))


  (elpy-enable)

  (setq elpy-rpc-backend "jedi")

  (add-hook 'elpy-mode-hook 'py-autopep8-enable-on-save))


;;================================================================================

;; Python
;;
;;================================================================================

;; (use-package pyvenv
;;   :ensure t
