Assignments to 'for' loop or 'with' statement parameter
Reports the cases when you rewrite a loop variable with an inner loop.
It also warns you if a variable declared in the
with statement is redeclared inside the statement body:
DataSpell 2023.3, PyCharm 2023.3
Python Community Edition, 233.SNAPSHOT