Docs: magic-value-comparison
shows an example that is not flagged
#8109
Labels
documentation
Improvements or additions to documentation
The code example at https://docs.astral.sh/ruff/rules/magic-value-comparison/ shows an example that is not flagged.
Here's a demo and an example that is actually flagged:
https://play.ruff.rs/0cd75dbb-5452-4b44-ac7b-ef1cc92e6d6e
The text was updated successfully, but these errors were encountered: