From 877d17fa27477e6376e4b239657506d7071d0c5d Mon Sep 17 00:00:00 2001 From: Martin Imre Date: Mon, 5 Feb 2024 18:36:42 +0100 Subject: [PATCH] feat(B909): Add more container mutating functions --- bugbear.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bugbear.py b/bugbear.py index 6a3c2be..e9b0c91 100644 --- a/bugbear.py +++ b/bugbear.py @@ -1609,6 +1609,13 @@ class B909Checker(ast.NodeVisitor): "insert", "pop", "popitem", + "setdefault", + "update", + "intersection_update", + "difference_update", + "symmetric_difference_update", + "add", + "discard", ) def __init__(self, name: str):