Skip to content

Commit 8f1d808

Browse files
committed
Add noqa B010 for setattr
1 parent 76257e4 commit 8f1d808

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pip/_internal/cli/cmdoptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ def _handle_no_use_pep517(option, opt, value, parser):
835835
# TODO: Move into a class that inherits from partial, currently does not
836836
# work as mypy complains functools.partial is a generic class.
837837
# This way we know we can ignore this option in docs auto generation
838-
setattr(always_unzip, 'deprecated', True)
838+
setattr(always_unzip, 'deprecated', True) # noqa: B010
839839

840840

841841
def _handle_merge_hash(option, opt_str, value, parser):

0 commit comments

Comments
 (0)