diff options
author | Mike Frysinger <vapier@chromium.org> | 2024-01-02 12:56:56 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2024-01-02 12:56:56 -0500 |
commit | 259a52c16c02d2cbb041ad33ea66a735652c66cf (patch) | |
tree | 3a6fa84338df1c056a3689b3850fa1370d635e48 | |
parent | lddtree: disable pyelftools pylint import errors (diff) | |
download | pax-utils-259a52c16c02d2cbb041ad33ea66a735652c66cf.tar.gz pax-utils-259a52c16c02d2cbb041ad33ea66a735652c66cf.tar.bz2 pax-utils-259a52c16c02d2cbb041ad33ea66a735652c66cf.zip |
lddtree: disable mypy import errors
We don't have types for these imports, so ignore errors on them.
Signed-off-by: Mike Frysinger <vapier@chromium.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rwxr-xr-x | lddtree.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |