Well, I would not call this user ignorance.
The current user interface is really confusing (even though I use it a lot
since any years).
It would be nice, if the plugin would always run pylint on the currently open
file.
Uwe Fechner
Am 11.07.2015 um 04:15 schrieb Robert Love:
Uh, we can close this out and mark it user ignorance. I have one file in the editor, the only
file I'm working on. I assumed, that Static Analysis would automatically apply to the only file
I was working on. No, I had to type the file name in the field at the top of the analysis pane,
then it worked like a charm.
On Friday, July 10, 2015 at 9:09:54 AM UTC-5, Adrian Klaver wrote:
On 07/09/2015 06:52 PM, Robert Love wrote:
>
>
> On Thursday, July 9, 2015 at 8:02:26 AM UTC-5, Adrian Klaver wrote:
>
>
> First under Help --> Optional dependencies see what it shows for
> pylint.
>
>
> It says pylint 1.4.2 (OK) Static code analysis
So Spyder thinks pylint is of correct version, that's a start.
>
>
> Second I would think that 'pip install pylint' would install in the
> system Python not Anaconda. Should you not do 'conda install or update
> pylint'?
>
>
> OK, I've performed the install that way. Same results.
Just verifying we are talking apples to apples.
>
>
>
> Third what OS and version and Python version are you using?
>
>
> Not sure it matters. I get the same failure on both my Mac (10.10.4)
> and my Mint 19 Linux box. Both have the same recent anaconda suite
> with Python 2.7.
> BTW, on the Mint box pylint is version 1.44
It provides context and also helps narrow down whether it is an OS
specific bug for now and for those folks who wander across this thread
in the future.
So onward.
What version of Spyder are you using?
I am on 2.3.3 on openSuse 13.1 and the static analysis works.
What are you trying analyze and where is it?
The error you got:
self.stats['by_module'][self.current_name][msg_cat] += 1
KeyError: None
would seem to indicate information is missing, in that one of the above
keys is None.
--
Adrian Klaver
[email protected] <javascript:>
--
You received this message because you are subscribed to the Google Groups
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[email protected] <mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.