From 9a497193db7cca2d64cd99251f34b83bec2d9137 Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Mon, 4 Mar 2024 16:28:41 +0000 Subject: Update ruff to target Python 3.11 --- pydis_core/utils/cooldown.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pydis_core/utils/cooldown.py') diff --git a/pydis_core/utils/cooldown.py b/pydis_core/utils/cooldown.py index 91b9c5f3..d25d4507 100644 --- a/pydis_core/utils/cooldown.py +++ b/pydis_core/utils/cooldown.py @@ -81,7 +81,7 @@ class _SeparatedArguments: for item in call_arguments: try: hash(item) - except TypeError: # noqa: PERF203 + except TypeError: non_hashable.append(item) else: hashable.append(item) -- cgit v1.2.3