Skip to content

Pylint: assignment-from-no-return #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
evaherrada opened this issue Mar 15, 2020 · 1 comment
Closed

Pylint: assignment-from-no-return #20

evaherrada opened this issue Mar 15, 2020 · 1 comment

Comments

@evaherrada
Copy link
Collaborator

************* Module turtle_koch
examples/turtle_koch.py:7:8: E1111: Assigning result of a function call, where the function has no return (assignment-from-no-return)
************* Module turtle_overlayed_koch
examples/turtle_overlayed_koch.py:9:8: E1111: Assigning result of a function call, where the function has no return (assignment-from-no-return)

https://github.com/adafruit/Adafruit_CircuitPython_turtle/blob/c2d86f2f24bf1cf783bc3cce9bf59373e95dc242/examples/turtle_koch.py#L4:8

https://github.com/adafruit/Adafruit_CircuitPython_turtle/blob/c2d86f2f24bf1cf783bc3cce9bf59373e95dc242/examples/turtle_koch.py#L7:9

I'm not exactly sure why this is even being done, I would test just having it do turtle.forward(line_length) but I don't have the hardware with me to test.

@dastels Any insight into this?

Referencing main issue: adafruit/Adafruit_CircuitPython_Bundle#232
@kattni

@tannewt
Copy link
Member

tannewt commented Mar 16, 2020

It looks like it can be safely removed to me.

@kattni kattni closed this as completed Mar 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants