Skip to content

Conversation

@hauntsaninja
Copy link
Collaborator

@hauntsaninja hauntsaninja commented Dec 30, 2025

Fixes #20411 , closes #20470

@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

rotki (https://github.com/rotki/rotki)
+ rotkehlchen/chain/evm/decoding/stakedao/decoder.py:298: error: Unused "type: ignore" comment  [unused-ignore]
+ rotkehlchen/tests/unit/decoders/test_uniswapv3.py:617: error: Unused "type: ignore" comment  [unused-ignore]
+ rotkehlchen/tests/unit/decoders/test_curve.py:2913: error: Unused "type: ignore" comment  [unused-ignore]
+ rotkehlchen/tests/api/test_history_base_entry.py:732: error: Unused "type: ignore" comment  [unused-ignore]

Copy link
Collaborator

@A5rocks A5rocks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Supersedes #20470 (and I thought there was 1 other, but I can't find it :/). Makes sense to me, though I think the approach here is slightly harder to wrap my head around than the one in that other PR. But this way is better because we need ctx for self.accept I guess.

@hauntsaninja
Copy link
Collaborator Author

hauntsaninja commented Jan 2, 2026

I don't think that PR does anything

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot determine type of walrus operator variable in list comprehension

2 participants