False positive pointless-statement
for :=
operator
#7760
Labels
Assignment expression
Related to the walrus operator / assignment expression
False Positive 🦟
A message is emitted but nothing is wrong with the code
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
Bug description
Issue discovered in this PR
You can also see this by running
pylint tests/functional/s/superfluous_parens_walrus_py38.py --enable=all
Once this issue is fixed, please go back and remove
pointless-statement
in pylint-disable in file tests/functional/s/superfluous_parens_walrus_py38.pyConfiguration
No response
Command used
Pylint output
Expected behavior
No
pointless-statement
message in the output.Pylint version
OS / Environment
macOS
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: