From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f44.google.com (mail-ot1-f44.google.com [209.85.210.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2AD2638F949 for ; Wed, 13 May 2026 12:14:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778674446; cv=none; b=tlZYLPO1xK75MQS3e8ifVeCbkUgKHF6IzfkcHdzw1bWvR5kq4wA3MzPaaYwi925NX86T2xxcobD4GaHt5tRC+NOnHuPytTehpCtcaoB798jy7CTcjittqu32PjD+Lrw7InHqIQDPcY4SIXyxhwtRXwUNUe196Qw8Z/t5mX4eVRc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778674446; c=relaxed/simple; bh=Jz+bXsVftai5v15pDprSSH96Ot4A8L6ynecxAQ5ymGQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=WH2k2ZkECw57NvcEOm4S/S1F+zbHypP9H7wUKsIzAcA5b/7C7DbwyMHtwtB+xn3ehmrURPh/4U+Vo1Y/NukqjBAQoGultIruHCYoFzcohi2GZIVkkwNufTiwakR8+gUf7zRe9m47WtkcoyiHZvKD2roIscE1pYzSkYaKy95f7so= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Y7+gSeH0; arc=none smtp.client-ip=209.85.210.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Y7+gSeH0" Received: by mail-ot1-f44.google.com with SMTP id 46e09a7af769-7dbd23bc684so3772488a34.2 for ; Wed, 13 May 2026 05:14:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1778674444; x=1779279244; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=aKna7861B81bSrMUMezEy1EFlgsYPylTedLt/tHntn0=; b=Y7+gSeH0Kz6IGmhPGMyryzobSFWSdP0P4wyBhIjKCsBKCn95V2zeIZa+fvoKEC5U9y E9Q8xILvBEji9f6EH7IheQAd2JoNJbXmg6cNDeAd3RCXdxruWJbaEC9AY6sQReJ8ugYV OHsSCYnhf0vDnT5ntyWHPHKvyfgIcYQQ70GyRlKTsgc72W88XTkbEX2+ikv05xhTLy3C jBzdBzOLnyGyBSICYhZeGn5xvSJq3YA/PR2qO5E74EMwBXqSRwWemMvI8dRoomaELHV2 T5p+2DvbsDH6Tc3ys+dF/8JrvV/eJDC79+kBL3jcxuFdoZuIivl5rmMTDF+zJ8XZoABS G9ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778674444; x=1779279244; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=aKna7861B81bSrMUMezEy1EFlgsYPylTedLt/tHntn0=; b=mzHJ9WM0FbNQZvR21/A4nCF9CC2Lqb9Wu1PV87HkCQVSkV+FBm2aMpEhhHOlBNcLBC L1QWFw6gLs7di1ocGB3VgGKgZolPW+d7QRBN2VWc3Gww6cUqK76zjMpuoMnEXEjusOJZ DjE42TZi/MaGC9lCtMDjrTnt1eP3gcqVV6+iKSkVMWUcVPXCazfusgwxQHM2aq1wMx3D DUolP9OCoXT/BIcnYmMA/tydjrPjFE/bLr4uxUWhxfCuRkPuJmm9/iMaer5pyMKP2V78 rUwsrLj7O+3toK/JLTMeBRzVaCdt0g37bKIW/H44UDuB5oDD9i2Crx+9tRnNkZnmqXwH Bj0A== X-Forwarded-Encrypted: i=1; AFNElJ+sUeSzsRAbKclYjh/gqAFPwf9dvOyspffhCh4/4BfDNlX4h/NfO4dxi9WO4L9wN8PfOoB2SaSnaFYml2k=@vger.kernel.org X-Gm-Message-State: AOJu0YwpId+jRKCAPOTcAQphE/1cbdBEwaZqkvknM/SS/mBTsJOqROD3 BGdbKmpV6K05FNt+zEvwbHFlWqfG1a9TjGlWPAhXtqnNQmHBLS6waSWe X-Gm-Gg: Acq92OHipSZNSeaYjho5rsGnEU0dcuhbghF4uMk40xw1v/0FGVh1cWFAGVGqD9jh4Rs 2iy2IeXilE+I368hTlc4nQ1pYf8FyF9R+umbyUSyU8pAoD6dbyykxZfVwgc+76mSb7PdVi/wrqk 8E6TneVYyaJh35oLkI8ybqIJFqe9In9kIquuUi/CcRS7LjE0P8tEwQvB2rMTwHftTRfNEecStVG Du/jinjMeA77PWbXFusUIObfOWEXPdHe4V/APtue9pFDfX3845jVD8anYpChxkCwsL8Rm3E9qF2 403wpjSGRi7yvvImfoGYOEFmo7ZOyUxLeNGqg0NXSONBbUpPpmDft221gI4TKdH8TcLinup3t5H +7okXGc2FxzR8AdqLdIUS+Ni/GeOp/NpWngK7upJo9gTfHcuy/9ZaxFHptYFKJztiIov0Qnj6j9 FmHW+HO73uuwvbk2Y= X-Received: by 2002:a05:6820:200b:b0:694:9bdb:596b with SMTP id 006d021491bc7-69b78d6e063mr1647900eaf.17.1778674443943; Wed, 13 May 2026 05:14:03 -0700 (PDT) Received: from houminxi ([72.244.37.221]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-4355736dbc0sm15189442fac.11.2026.05.13.05.13.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 May 2026 05:14:03 -0700 (PDT) From: Minxi Hou To: netdev@vger.kernel.org Cc: dev@openvswitch.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, aconole@redhat.com, echaudro@redhat.com, i.maximets@ovn.org, i.maximets@redhat.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, shuah@kernel.org, Minxi Hou Subject: [PATCH net-next 5/5] selftests: openvswitch: suppress pylint complexity warnings Date: Wed, 13 May 2026 20:12:40 +0800 Message-ID: <20260513121240.2590767-6-houminxi@gmail.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260513121240.2590767-1-houminxi@gmail.com> References: <20260513121240.2590767-1-houminxi@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add file-level pylint:disable comments for warnings caused by pyroute2 framework constraints that cannot be fixed without restructuring the netlink attribute hierarchy. After this patch, pylint reports 0 warnings (10.00/10). Signed-off-by: Minxi Hou --- tools/testing/selftests/net/openvswitch/ovs-dpctl.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tools/testing/selftests/net/openvswitch/ovs-dpctl.py b/tools/testing/selftests/net/openvswitch/ovs-dpctl.py index 3683796ba2e2..bbc88e3cfc8a 100644 --- a/tools/testing/selftests/net/openvswitch/ovs-dpctl.py +++ b/tools/testing/selftests/net/openvswitch/ovs-dpctl.py @@ -1,6 +1,14 @@ #!/usr/bin/env python3 # SPDX-License-Identifier: GPL-2.0 """OVS datapath control utility for kernel selftests.""" +# pylint: disable=invalid-name,too-many-lines +# pylint: disable=too-many-ancestors,too-many-arguments +# pylint: disable=too-many-positional-arguments,too-many-branches +# pylint: disable=too-many-locals,too-many-statements +# pylint: disable=too-many-return-statements,too-many-nested-blocks +# pylint: disable=unused-argument,broad-exception-caught +# pylint: disable=no-member,not-callable +# pylint: disable=non-parent-init-called,super-init-not-called # Controls the openvswitch module. Part of the kselftest suite, but # can be used for some diagnostic purpose as well. -- 2.53.0