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

VariableChecker now accounts for attribute lookups in type comments #4604

Merged

Commits on Jun 27, 2021

  1. VariableChecker now accounts for attribute lookups in type comments

    Prior to this commit VariableChecker did not recurse into attribute lookups
    in type comments. This lead to false positive unused-import messages in e.g.
    
        import collections
        d = ...  # type: collections.OrderedDict
    
    Fixes pylint-dev#4603.
    superbobry committed Jun 27, 2021
    Configuration menu
    Copy the full SHA
    7766e61 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    751cf4c View commit details
    Browse the repository at this point in the history