diff options
-rwxr-xr-x | lddtree.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -53,6 +53,8 @@ from typing import Any, Dict, Iterable, List, Optional, Tuple, Union, cast assert sys.version_info >= (3, 6), f"Python 3.6+ required, but found {sys.version}" +# Disable import errors for all 3rd party modules. +# pylint: disable=import-error try: import argcomplete except ImportError: @@ -61,6 +63,8 @@ except ImportError: from elftools.common import exceptions from elftools.elf.elffile import ELFFile +# pylint: enable=import-error + def warn(msg: Any, prefix: Optional[str] = "warning") -> None: """Write |msg| to stderr with a |prefix| before it""" |