Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
weak_cryptographic_key assumes positional arg (PyCQA#930)
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 <[email protected]>
- Loading branch information