From: Vladimír Čunát Date: Wed, 20 Aug 2025 11:52:11 +0000 (+0200) Subject: squash! daemon/defer: resolve pylint warning X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fenvironments%2Fdocs-defer-hard-t-wlwi0n%2Fdeployments%2F7442;p=thirdparty%2Fknot-resolver.git 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. --- 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":