pyflakes

Errors when running vim with the pyflakes plugin

↘锁芯ラ 提交于 2019-12-02 06:47:15
I'm playing with the pyflakes plugin for vim and now when I open a python file I get the error messages in the screenshot here Any ideas how to fix this? Thanks in advance... https://github.com/kevinw/pyflakes-vim/issues/27 You can recommend to users that they clone the pyflakes-vim repo with git clone --recursive or you can suggest after the fact to use git submodule update --init --recursive if pyflakes-vim is saved as a git submodule itself. Or go to pyflakes-vim and: git submodule init && git submodule update The point is that pyflakes-vim needs a (fresh) local copy of pyflakes under

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

落爺英雄遲暮 提交于 2019-11-27 09:34:09
问题 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) This solutions work. But I can't configure flymake for work with pyflakes and pylint together. How can I do it? 回答1: Well, flymake is just looking for a executable command thats output lines in a predefined format. You can make a shell script for example that will call successively all the checkers you want... You must also make sure that

PyLint, PyChecker or PyFlakes? [closed]

烂漫一生 提交于 2019-11-27 05:43:28
I would like to get some feedback on these tools on : features; adaptability; ease of use and learning curve. e-satis Well, I am a bit curious, so I just tested the 3 myself right after asking the question ;-) Ok, this is not a very serious review but here is what I can say : I tried the tools with the default settings (it's important because you can pretty much choose your check rules) on the following script : #!/usr/local/bin/python # by Daniel Rosengren modified by e-satis import sys, time stdout = sys.stdout BAILOUT = 16 MAX_ITERATIONS = 1000 class Iterator(object) : def __init__(self):

PyLint, PyChecker or PyFlakes? [closed]

流过昼夜 提交于 2019-11-26 12:48:58
问题 I would like to get some feedback on these tools on : features; adaptability; ease of use and learning curve. 回答1: Well, I am a bit curious, so I just tested the 3 myself right after asking the question ;-) Ok, this is not a very serious review but here is what I can say : I tried the tools with the default settings (it's important because you can pretty much choose your check rules) on the following script : #!/usr/local/bin/python # by Daniel Rosengren modified by e-satis import sys, time