diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2020-09-01 20:30:03 +0200 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2020-09-08 20:15:59 +0200 |
commit | 1743f636fdb67c7569711e8cabd2d7440ba265be (patch) | |
tree | 6ced47993a1c8b965e0ecb9105ab5a346c26bab2 | |
parent | e681235e5fe3ee0a40dd6a3f5922c2c4b0cf98b4 (diff) | |
download | meson-1743f636fdb67c7569711e8cabd2d7440ba265be.zip meson-1743f636fdb67c7569711e8cabd2d7440ba265be.tar.gz meson-1743f636fdb67c7569711e8cabd2d7440ba265be.tar.bz2 |
typing: fix LGTM bot error
-rw-r--r-- | mesonbuild/ast/introspection.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mesonbuild/ast/introspection.py b/mesonbuild/ast/introspection.py index d7d982e..c91bf40 100644 --- a/mesonbuild/ast/introspection.py +++ b/mesonbuild/ast/introspection.py @@ -32,10 +32,14 @@ build_target_functions = ['executable', 'jar', 'library', 'shared_library', 'sha class IntrospectionHelper(argparse.Namespace): # mimic an argparse namespace def __init__(self, cross_file: str): + super().__init__() self.cross_file = cross_file # type: str self.native_file = None # type: str self.cmd_line_options = {} # type: T.Dict[str, str] + def __eq__(self, other: object) -> bool: + return NotImplemented + class IntrospectionInterpreter(AstInterpreter): # Interpreter to detect the options without a build directory # Most of the code is stolen from interpreter.Interpreter |