From a70588f122921a35c300cb1eb42582fc786b5d27 Mon Sep 17 00:00:00 2001 From: Pavol Misik Date: Tue, 9 Jul 2024 20:15:55 +0200 Subject: [PATCH] worker: Ignore pylint Unreachable code report --- worker/buildbot_worker/commands/fs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/worker/buildbot_worker/commands/fs.py b/worker/buildbot_worker/commands/fs.py index 2d4f34042c72..3b8154b14426 100644 --- a/worker/buildbot_worker/commands/fs.py +++ b/worker/buildbot_worker/commands/fs.py @@ -131,6 +131,7 @@ def _tryChmod(self, rc, path): assert isinstance(rc, int) if rc == 0: defer.returnValue(0) + # pylint: disable=unreachable return # pragma: no cover # Attempt a recursive chmod and re-try the rm -rf after.