dmunozv04 / iSponsorBlockTV

SponsorBlock client for all YouTube TV clients.
GNU General Public License v3.0
2.42k stars 98 forks source link

refactor: replace range(len(...)) with enumerate(...) #127

Closed deepsource-autofix[bot] closed 8 months ago

deepsource-autofix[bot] commented 8 months ago

Using range(len(...)) is not pythonic. Python does not have not index-based loops. Instead, it uses collection iterators. Python has a built-in method enumerate which adds a counter to an iterable.