basic code quality checks in loops
pip install flake8_loopy
| error code | description |
|---|---|
| LPY100 | unused variable created by enumerate(): you probably do not need enumerate(), or you should use range(len()) instead |
| LPY101 | variable created by for loop shadows a variable in its outer context |
- iteration with index where index is only used to get an item (should iterate directly over items)
please report false positives / errors if found! contributions welcome.