[used-before-assignment] False positive for "same test" exception when test is a walrus operator #10061
Labels
C: used-before-assignment
Issues related to 'used-before-assignment' check
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
Milestone
Primer run on #10034 exposed a false positive we can address separately:
Effect on home-assistant:
The following messages are now emitted:
Possibly using variable 'touch_event_callback' before assignment
https://github.com/home-assistant/core/blob/b09e54c961db279785b75b5c3d192624b3d65664/homeassistant/components/nanoleaf/__init__.py#L77
This comment was generated for commit d7ddc89
Originally posted by @github-actions[bot] in #10034 (comment)
The text was updated successfully, but these errors were encountered: