mojo icon indicating copy to clipboard operation
mojo copied to clipboard

[Feature Request] add # type: ignore to ignore compiler warnings in that line

Open martinvuyk opened this issue 9 months ago • 0 comments

Review Mojo's priorities

What is your request?

add # type: ignore to ignore compiler warnings in that line

What is your motivation for this change?

Being able to leave project structure and compatibility with python's mypy

if some_condition():
    pass
elif False:  # type: ignore
    # TODO: something
    pass

Any other details?

No response

martinvuyk avatar May 02 '24 23:05 martinvuyk