提交 6ac8f832 authored 作者: Frederic's avatar Frederic

note about pep8 check in emacs

上级 cc37d22d
...@@ -362,7 +362,17 @@ Then in your ``~/.emacs`` file, add this: ...@@ -362,7 +362,17 @@ Then in your ``~/.emacs`` file, add this:
(epy-setup-checker "pyflakes %f") ;; For python syntax check (epy-setup-checker "pyflakes %f") ;; For python syntax check
(epy-setup-checker "pep8 -r %f") ;; For pep8 check (epy-setup-checker "pep8 -r %f") ;; For pep8 check
.. note::
The script highlight problematic lines. This can make part of the
line not readable depending of the background. To replace the line
highlight by an underline, add this to your emacs configuration
file.
;; Make thing readable when there is an warning [optional]
(custom-set-faces
'(flymake-errline ((((class color)) (:underline "red"))))
'(flymake-warnline ((((class color)) (:underline "yellow")))))
Unit tests Unit tests
---------- ----------
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论