Skip to content

Check B105:hardcoded_password_string for class attributes  #759

@yoeran-dev

Description

@yoeran-dev

Is your feature request related to a problem? Please describe.
Bandit does not throw an error for self.password = "12123123" but does so for password = "12123123"

Describe the solution you'd like
Make it so B105:hardcoded_password_string also checks class attributes

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions