aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/ast/introspection.py
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2020-01-28 20:57:07 +0100
committerDaniel Mensinger <daniel@mensinger-ka.de>2020-03-02 10:52:59 +0100
commitd67888bf9b398b9ff9709d396569260f98971e8a (patch)
tree7cf83e064b984433675a6b373fd08269ddf07480 /mesonbuild/ast/introspection.py
parent0302a697b8c232b21a4a8e14db93e79df485a97d (diff)
downloadmeson-d67888bf9b398b9ff9709d396569260f98971e8a.zip
meson-d67888bf9b398b9ff9709d396569260f98971e8a.tar.gz
meson-d67888bf9b398b9ff9709d396569260f98971e8a.tar.bz2
types: Remove redundant __init__() -> None annotation
Diffstat (limited to 'mesonbuild/ast/introspection.py')
-rw-r--r--mesonbuild/ast/introspection.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/ast/introspection.py b/mesonbuild/ast/introspection.py
index d51b099..c9a51bf 100644
--- a/mesonbuild/ast/introspection.py
+++ b/mesonbuild/ast/introspection.py
@@ -30,7 +30,7 @@ build_target_functions = ['executable', 'jar', 'library', 'shared_library', 'sha
class IntrospectionHelper:
# mimic an argparse namespace
- def __init__(self, cross_file: str) -> None:
+ def __init__(self, cross_file: str):
self.cross_file = cross_file # type: str
self.native_file = None # type: str
self.cmd_line_options = {} # type: T.Dict[str, str]
@@ -46,7 +46,7 @@ class IntrospectionInterpreter(AstInterpreter):
cross_file: T.Optional[str] = None,
subproject: str = '',
subproject_dir: str = 'subprojects',
- env: T.Optional[environment.Environment] = None) -> None:
+ env: T.Optional[environment.Environment] = None):
visitors = visitors if visitors is not None else []
super().__init__(source_root, subdir, subproject, visitors=visitors)