From 3bb3b48cd0b2f6161010ebe6d31d288845027c14 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 14 Oct 2026 09:07:30 -0400 Subject: [PATCH] Remove directive ruff doesn't need or want --- confluent_server/confluent/snmputil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/snmputil.py b/confluent_server/confluent/snmputil.py index 986c5d20..8ad379ac 100644 --- a/confluent_server/confluent/snmputil.py +++ b/confluent_server/confluent/snmputil.py @@ -28,7 +28,7 @@ import socket try: # Some pysnmp installs expect util to be an attribute of importlib, but that doesn't naturally happen reliably # So we prime the pump by importing it the proper way, then pysnmp can succesfully do it the wrong way - import importlib.util # noqa: F401 + import importlib.util except ImportError: importlib = None