From 2a6467bff32f7e061069f44e018712e0f7bd6cb5 Mon Sep 17 00:00:00 2001 From: kasium <15907922+kasium@users.noreply.github.com> Date: Mon, 5 Aug 2024 22:12:18 +0200 Subject: [PATCH] Replace hash with unsafe_hash --- bugbear.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bugbear.py b/bugbear.py index 96052aa..2d012ec 100644 --- a/bugbear.py +++ b/bugbear.py @@ -46,7 +46,7 @@ Context = namedtuple("Context", ["node", "stack"]) -@attr.s(hash=False) +@attr.s(unsafe_hash=False) class BugBearChecker: name = "flake8-bugbear" version = __version__