You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.
BadKwargUseLinter has been improved to allow specifying full module paths instead of just attributes. E.g. subprocess.Popen vs. Popen. This allows us to more accurately describe the attributes with insecure kwarg behavior. To ensure backwards compatibility we still support the previous behavior. We should deprecate and eventually remove the old behavior as it can be more accurately specified using the new behavior. We're deprecating and then removing because third-party custom plugins may depend on the previous behavior.
This work should include:
Possibly renaming attribute_name to something new like module_path.
Include DeprecationWarning for old name/behavior.
Update first-party linters that inherit from BadKwargUseLinter.
The text was updated successfully, but these errors were encountered:
BadKwargUseLinter
has been improved to allow specifying full module paths instead of just attributes. E.g.subprocess.Popen
vs.Popen
. This allows us to more accurately describe the attributes with insecure kwarg behavior. To ensure backwards compatibility we still support the previous behavior. We should deprecate and eventually remove the old behavior as it can be more accurately specified using the new behavior. We're deprecating and then removing because third-party custom plugins may depend on the previous behavior.This work should include:
attribute_name
to something new likemodule_path
.DeprecationWarning
for old name/behavior.BadKwargUseLinter
.The text was updated successfully, but these errors were encountered: