Thursday, March 6, 2014

Re: Syntastic doesn't use pylintrc

On 5 March 2014, Tim Johnson <tim@akwebsoft.com> wrote:
> Using vim 7.3 on OSX 10.7
>
> I have installed the syntastic plugin.
>
> For checking syntax for python files, I have the following
> .pylintrc:
> ########################################################
> [DESIGN]
>
> max-branchs = 20
>
> max-args = 14
>
> max-attributes = 14
>
> max-locals = 35
>
> [MESSAGES CONTROL]
> disable-msg=W0142,R0903
> ########################################################
> *none* of these settings seem to be read, since I am still
> getting messages about any of the settings
> My vim configuration is :
> :let g:syntastic_python_checker = 'pylint --rcfile=/home/tim/.pylintrc'

FWIW, this has never worked. Here's a crazy idea: if everything
else fails, consider investing a few minutes in reading the manual.

> How else can I enable the pylintrc settings?

Assuming you're using the current master HEAD of syntastic from git:

let g:syntastic_python_pylint_args = '--rcfile=/home/tim/.pylintrc'

For older versions of syntastic:

let g:syntastic_python_pylint_post_args = '--rcfile=/home/tim/.pylintrc'

/lcd

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment