We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ce4a99 commit d5d2715Copy full SHA for d5d2715
mig/install/mig-user/.emacs
@@ -120,10 +120,12 @@
120
; pip install autopep8
121
; wget https://raw.githubusercontent.com/paetzke/py-autopep8.el/master/py-autopep8.el \
122
; -O ~/.emacs.d/site-lisp/py-autopep8.el
123
-;
+;
124
+; NOTE: we adjust max line length and disable import mangling as it breaks
125
+; some migrid modules.
126
(require 'py-autopep8)
127
(add-hook 'python-mode-hook 'py-autopep8-enable-on-save)
-(setq py-autopep8-options '("--max-line-length=79"))
128
+(setq py-autopep8-options '("--max-line-length=80 --ignore E402"))
129
130
;; Prefer espresso mode from
131
;; http://download.savannah.gnu.org/releases-noredirect/espresso/espresso.el
0 commit comments