pylint

Handle user-raised deprecation warning by pylint.

Is there a way to tell pylint that it must show warning message when it see user-defined deprecation warning? I've tried warnings.warn, DeprecationWarning - but pylint ignores them. ...

Please help: pylint does not work with Emacs23

Hi, I am trying to use Pylint with Emacs on Windows XP. My Emacs version is EmacsW32 23.1, pylint is 0.21.3 with Python 2.5. After easy_install pylint, I added the following lines to Emacs init file, copied form Emacs Wiki. When I invoke the flymake-mode on a .py file, I can see the flymake starting the syntax check, the mode status c...

how to use pylint in vim

I do not want to install another plugin, like pylint.vim, And today, I decide to use vim edit python instead of pydev which is a eclipse plugin. But I got issues. I have add this in my vimrc autocmd BufWritePost *.py !pylint <afile> but pylint does not contains filename in output ************* Module mymodule E: 22: invalid syntax ...

pylint bug - E1101 & E0102 upon use of @property + @foo.setter

I noticed pylint doesn't handle well the case of: @property def foo(self): return self._bar.foo @foo.setter def foo(self, foo_val): self._bar.foo = foo_val Though it's a perfectly valid case syntax since python2.6 It says I defined foo twice, and doesn't understand the ".setter" syntax (Gives E1101 & E0102). Is there a workar...

trouble getting pylint to find inherited methods in pylons/SA models

I have a Pylons app that I'm using SqlAlchemy declarative models for. In order to make the code a bit cleaner I add a .query onto the SA Base and inherit all my models from that. So in my app.model.meta I have Base = declarative_base() metadata = Base.metadata Session = scoped_session(sessionmaker()) Base.query = Session.query_proper...