Thanks for the tip.
I ran pylint on an @clean node with a line  *g.es_print(" ")*  which caused 
pylint to give some output. 
That line shows as a UNL link in the log pane:




*pylint: asknames.py************* Module asknamesN:\leo\asknames.py:21:0: 
E0602: Undefined variable 'g' (undefined-variable)pylint finished*


On Saturday, April 9, 2022 at 11:33:38 AM UTC+10 tbp1...@gmail.com wrote:

> You have to run it on an external file tree - @file or @clean.  The 
> message is saying that that the routine couldn't find an external file 
> looking upwards through the tree.
>
> On Friday, April 8, 2022 at 9:02:10 PM UTC-4 lewis wrote:
>
>> I have pylint 2.13.5 installed with pip.
>> Right-click over a node and selecting Run Pylint gives message:
>> *pylint: no files found*
>>
>> Alt-x pylint command gives same message.
>>
>> Is there any setup required to use pylint in Leo?
>>
>>
>>
>>
>> *Leo Log WindowLeo 6.6.1-devel, devel branch, build 4bdce3ef48Python 
>> 3.10.4, PyQt version 6.2.4Windows 10 AMD64 (build 10.0.19042) SP0*
>>
>> On Saturday, April 9, 2022 at 1:18:50 AM UTC+10 Edward K. Ream wrote:
>>
>>> Thomas and I have been investigating #2586 
>>> <https://github.com/leo-editor/leo-editor/issues/2586>. Everything 
>>> works for me, but Thomas only gets output from the pylint command if he 
>>> sets wait = True in the node:
>>>
>>>     "class BackgroundProcessManager" in leoBackground.py.
>>>
>>> This is all the more mysterious since (I think) we are both testing on 
>>> Windows machines.
>>>
>>> I would appreciate any feedback about whether you see pylint output, on 
>>> whatever platform you like.  Thanks!
>>>
>>> Edward
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/33799ed4-5985-4007-89d1-a9ab96b63edcn%40googlegroups.com.

Reply via email to