Closed emircetinmemis closed 1 year ago
I've solve the issue, while searching out some similar problems i seen this closed issue. https://github.com/microsoft/pylance-release/issues/473#issuecomment-706764012
To solve it I have went down into "renderPM.py", and it line "63" I have add an annotation to the @draw method, which was creating the problem.
# the main entry point for users...
def draw(drawing, canvas, x, y, showBoundary=rl_config._unset_):
"""As it says"""
R = _PMRenderer()
R.draw(renderScaledDrawing(drawing), canvas, x, y, showBoundary=showBoundary)
# the main entry point for users...
def draw(drawing, canvas, x, y, showBoundary=rl_config._unset_) -> None:
"""As it says"""
R = _PMRenderer()
R.draw(renderScaledDrawing(drawing), canvas, x, y, showBoundary=showBoundary)
Machine
Expected Behaviour
Current Behaviour
Code snippet used
Example of Situation