Syntastic doesn't use pylintrc

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Syntastic doesn't use pylintrc

Tim Johnson
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'

How else can I enable the pylintrc settings?

thanks
--
Tim
tim at tee jay forty nine dot com or akwebsoft dot com
http://www.akwebsoft.com, http://www.tj49.com

--
--
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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: Syntastic doesn't use pylintrc

Tim Johnson
* Tim Johnson <[hidden email]> [140305 13:42]:

> 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'
>
> How else can I enable the pylintrc settings?
  For some settings, the following is working:
  :let g:syntastic_python_pylint_rcfile='/home/tim/.pylintrc'
  *but* disabling W0124 does not get rid of the 'star-args' warning.
--
Tim
tim at tee jay forty nine dot com or akwebsoft dot com
http://www.akwebsoft.com, http://www.tj49.com

--
--
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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: Syntastic doesn't use pylintrc

LCD 47
In reply to this post by Tim Johnson
On 5 March 2014, Tim Johnson <[hidden email]> 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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: Syntastic doesn't use pylintrc

Tim Johnson
* LCD 47 <[hidden email]> [140306 00:59]:
<..> On 5 March 2014, Tim Johnson <[hidden email]> wrote:
> > :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.
  No man for pylint. Got a URL for me?

> > 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'
  Dadgummit, I think that one works
  (I had also tried
    g:syntastic_python_pylint_rcfile='/home/tim/.pylintrc')

        thank you sir!
--
Tim
tim at tee jay forty nine dot com or akwebsoft dot com
http://www.akwebsoft.com, http://www.tj49.com

--
--
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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: Syntastic doesn't use pylintrc

Tim Johnson
* Tim Johnson <[hidden email]> [140306 07:36]:
> * LCD 47 <[hidden email]> [140306 00:59]:
> <..> On 5 March 2014, Tim Johnson <[hidden email]> wrote:
> > > :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.
>   No man for pylint. Got a URL for me?
    http://docs.pylint.org/

--
Tim
tim at tee jay forty nine dot com or akwebsoft dot com
http://www.akwebsoft.com, http://www.tj49.com

--
--
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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: Syntastic doesn't use pylintrc

LCD 47
In reply to this post by Tim Johnson
On 6 March 2014, Tim Johnson <[hidden email]> wrote:
> * LCD 47 <[hidden email]> [140306 00:59]:
> <..> On 5 March 2014, Tim Johnson <[hidden email]> wrote:
> > > :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.
>   No man for pylint. Got a URL for me?
[...]

    I was actuallt referring to syntastic's manual.  You can read it
from Vim:

        :help syntastic

    /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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.