Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add better detection and error messages for len compatible types in FURB115 #331

Merged
merged 1 commit into from
Mar 2, 2024

Commits on Mar 2, 2024

  1. Add better detection and error messages for len compatible types in F…

    …URB115:
    
    Previously `dict_keys()` and `dict_values()` objects where not type deducable
    by Refurb, and now they are. In addition, chained calls like `len(list(d))`
    are able to be simplified down to just `d`.
    
    Closes #330.
    dosisod committed Mar 2, 2024
    Configuration menu
    Copy the full SHA
    fb50655 View commit details
    Browse the repository at this point in the history