From a84a3282f5977b2dac0da61fa2d1845a7018ae71 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Wed, 20 Aug 2025 13:52:11 +0200 Subject: [PATCH] squash! daemon/defer: resolve pylint warning We're using ruff instead of pylint now. So maybe it's worth cleaning this commit up somewhat more. --- .../knot_resolver/controller/supervisord/plugin/patch_logger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/knot_resolver/controller/supervisord/plugin/patch_logger.py b/python/knot_resolver/controller/supervisord/plugin/patch_logger.py index f401d95c8..d320ea5c4 100644 --- a/python/knot_resolver/controller/supervisord/plugin/patch_logger.py +++ b/python/knot_resolver/controller/supervisord/plugin/patch_logger.py @@ -46,7 +46,7 @@ def p_output_dispatcher_log(self: POutputDispatcher, data: bytearray): if loglevel_match: # just strip the loglevel as supervisor cannot handle it; # used only for target=syslog without systemd - line = loglevel_match.group(2) # pylint: disable=redefined-loop-name + line = loglevel_match.group(2) # noqa: PLW2901 else: # no loglevel found, mark as stdio output to retain previous behaviour if self.channel == "stderr": -- 2.47.2