Mercurial > p > roundup > code
diff CHANGES.txt @ 7575:2b0089104f08
flake8: rename loop variable in 'for sendto in sendto:'
Flake8 reported 'B020 Found for loop that reassigns the iterable it is
iterating with each iterable value.'
Renamed loop variable to to_addr. There is a similar construct with a
loop over bcc_sendto with a 'bcc' loop variable. So I assume the loop
varaible can be chnaged w/o issue.
Codecov shows all the affected lines are being tested and the tests I
ran with testmon that should cover that code all passed.
We shall see if a full CI run passes.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 23 Jul 2023 23:40:12 -0400 |
| parents | 49ae502a41b1 |
| children | 978285986b2c |
line wrap: on
line diff
--- a/CHANGES.txt Sun Jul 23 23:28:12 2023 -0400 +++ b/CHANGES.txt Sun Jul 23 23:40:12 2023 -0400 @@ -25,6 +25,8 @@ - issue2551283 - fail if version 2.4.9 of markdown2 is used, it broke [issue1](issue1) style links. Support markdown2 2.4.8 and earlier and 2.4.10 with its new schema filtering method. (John Rouillard) +- multiple flake8 fixes (John Rouillard) +- rename loop variable in 'for sendto in sendto:' (John Rouillard) Features:
