SIM911 false positive (with bad autofix) on non-zip
attribute calls
#11125
Labels
bug
Something isn't working
zip
attribute calls
#11125
Description
Running the ruff format on
plt.bar(dict_a.keys(), dict_a.values())
is formatted by ruff todict_a.items()
which seems to be an issue.This is the pre-commit config I am using
Example
Resolves this to:
The text was updated successfully, but these errors were encountered: