How can I use Emacs Flymake mode for python with pyflakes and pylint checking code?

后端 未结 4 1553
闹比i
闹比i 2020-12-12 17:53

For checking code in python mode I use flymake with pyflakes

Also I want check code style (pep8) with pylint (description on the same page with pyflakes)

Thi

4条回答
  •  执笔经年
    2020-12-12 18:33

    You may want to check out the Lisp script here (http://charlie137-2.blogspot.com/2009/08/check-python-coding-style-on-fly-with.html), which should help with checking PEP8 a la pep8.py. I don't use pyflakes or pylint, but I imagine you could easily adjust this to work with other checkers.

提交回复
热议问题