From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1586400-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E98AC15803E for <garchives@archives.gentoo.org>; Tue, 2 Jan 2024 18:03:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 29B902BC01F; Tue, 2 Jan 2024 18:03:20 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 13C3E2BC01F for <gentoo-commits@lists.gentoo.org>; Tue, 2 Jan 2024 18:03:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 51B08342F94 for <gentoo-commits@lists.gentoo.org>; Tue, 2 Jan 2024 18:03:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8BF1A13E9 for <gentoo-commits@lists.gentoo.org>; Tue, 2 Jan 2024 18:03:17 +0000 (UTC) From: "Mike Frysinger" <vapier@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" <vapier@gentoo.org> Message-ID: <1704218216.259a52c16c02d2cbb041ad33ea66a735652c66cf.vapier@gentoo> Subject: [gentoo-commits] proj/pax-utils:master commit in: / X-VCS-Repository: proj/pax-utils X-VCS-Files: lddtree.py X-VCS-Directories: / X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 259a52c16c02d2cbb041ad33ea66a735652c66cf X-VCS-Branch: master Date: Tue, 2 Jan 2024 18:03:17 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 10062a4a-1303-408f-ad2e-de09581c6dae X-Archives-Hash: ca0c62c2aa971b1df8893e8e514a5a80 commit: 259a52c16c02d2cbb041ad33ea66a735652c66cf Author: Mike Frysinger <vapier <AT> chromium <DOT> org> AuthorDate: Tue Jan 2 17:56:56 2024 +0000 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> CommitDate: Tue Jan 2 17:56:56 2024 +0000 URL: https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=259a52c1 lddtree: disable mypy import errors We don't have types for these imports, so ignore errors on them. Signed-off-by: Mike Frysinger <vapier <AT> chromium.org> Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org> lddtree.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lddtree.py b/lddtree.py index 70d755c..8a42627 100755 --- a/lddtree.py +++ b/lddtree.py @@ -56,12 +56,12 @@ assert sys.version_info >= (3, 6), f"Python 3.6+ required, but found {sys.versio # Disable import errors for all 3rd party modules. # pylint: disable=import-error try: - import argcomplete + import argcomplete # type: ignore except ImportError: argcomplete = cast(Any, None) -from elftools.common import exceptions -from elftools.elf.elffile import ELFFile +from elftools.common import exceptions # type: ignore +from elftools.elf.elffile import ELFFile # type: ignore # pylint: enable=import-error