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

Check for hardcoded passwords in class attributes #766

Merged
merged 4 commits into from Feb 8, 2022

Commits on Dec 20, 2021

  1. Check for hardcoded passwords in class attributes

    B105:hardcoded_password_string currently throws an error for string
    literal variables, dictionary keys, and comparisons which look like
    passwords, but does not create an error for class attributes which look
    like passwords.
    
    For example password = "mypassword" and password == "mypassword"
    would create an error, but my_object.password = "mypassword",
    and my_object.password == "mypassword" would not.
    This behavior is unintuitive.
    
    Resolves PyCQA#759
    noliverio committed Dec 20, 2021
    Configuration menu
    Copy the full SHA
    51f048e View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2021

  1. Configuration menu
    Copy the full SHA
    d038529 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2022

  1. Configuration menu
    Copy the full SHA
    fbddff6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    45d726b View commit details
    Browse the repository at this point in the history