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

weak_cryptographic_key assumes positional arg #930

Merged
merged 1 commit into from
Jul 12, 2022

Commits on Jul 11, 2022

  1. weak_cryptographic_key assumes positional arg

    The weak_cryptographic_key assumes a positional arg when it doesn't
    find a value for the keyword arg. The issue is that sometimes the
    keyword arg is a ast.Call or other undeterminate values. And as
    a result throws a Traceback.
    
    This change will make the plugin a little more robust so it doesn't
    throw the Traceback. It won't be able determine the value of the
    curve in this case, but can ignore it.
    
    Fixes PyCQA#545
    
    Signed-off-by: Eric Brown <eric_wade_brown@yahoo.com>
    ericwb committed Jul 11, 2022
    Configuration menu
    Copy the full SHA
    05d2763 View commit details
    Browse the repository at this point in the history