You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
************* Module pylint_repro
pylint_repro.py:3:16: W0640: Cell variable i defined in loop (cell-var-from-loop)
Expected behavior
I would expect the cell-var-from-loop not to be triggered because the value is bound to a keyword argument. The message is only triggered in the presence of the * that forces all following arguments to be keyword-only, i.e. it is triggered for f but not for g.
Bug description
Configuration
No response
Command used
Pylint output
Expected behavior
I would expect the
cell-var-from-loop
not to be triggered because the value is bound to a keyword argument. The message is only triggered in the presence of the*
that forces all following arguments to be keyword-only, i.e. it is triggered forf
but not forg
.Pylint version
OS / Environment
Ubuntu 20.04.3 LTS, Python installed with pyenv.
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: