Closed dcmoura closed 1 year ago
Also check flake8 warnings
May I do it?
Yes, go for it! This is is great for first time contributors. Check the CONTRIBUTING file to understand how to setup the dev environment and start by running the tests before making any change. Once you are good, you may start changing the code while making sure that tests continue passing. Let me know if you have any question. Thank you!
@dcmoura
I have a question.
some functions where
yield
might be used to return a generator
What does this refer to? Are there functions which return large list?
When I started coding SPyQL there were some Python patterns that I was not familiar with. Mainly the use of a) yield and b) enumerate. The ideia is to try to understand where the use of such patterns can help making the code cleaner and/or increase performance. This does not need to be exhaustive. @Hayashi-Yudai
Closed by #82
Some cases where the code could be more pythonic:
for
cycles whererange(len(l))
might be replaced byenumerate
yeld
might be used to return a generatorChanges should be accessed for performance.