I didn't get any output from the mypy command.  This code is in a node, and 
it's not an @file or @anything node:

@language python
def f1(x:int) -> int:
    y:int = 3*x
    return 'this is a test'
    #return y

print(f1(5))

When I ran the mypy command on this node, using <ALT-x>, I got no output in 
the Log pane or anywhere else.  When I ran mypy outside Leo on a file with 
the same code, I got the expected error message.

Leo 6.4-devel, devel branch, build 66a1c59a48
2021-03-04 06:50:33 -0600
Python 3.8.6, PyQt version 5.15.1
Windows 10 AMD64 (build 10.0.19041) SP0

Guidance, please!
On Friday, March 5, 2021 at 6:22:21 AM UTC-5 Edward K. Ream wrote:

> On Thu, Mar 4, 2021 at 6:47 PM Félix <[email protected]> wrote:
>
>> Everybody's into type checking now! Thats great! 
>
>
> :-)
>
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/e45ab082-ea41-4372-ac12-175a402ed959n%40googlegroups.com.

Reply via email to