aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/ast/interpreter.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/interpreter.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/interpreter.py')
-rw-r--r--mesonbuild/ast/interpreter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/ast/interpreter.py b/mesonbuild/ast/interpreter.py
index 2839f54..25dfb80 100644
--- a/mesonbuild/ast/interpreter.py
+++ b/mesonbuild/ast/interpreter.py
@@ -67,7 +67,7 @@ ADD_SOURCE = 0
REMOVE_SOURCE = 1
class AstInterpreter(interpreterbase.InterpreterBase):
- def __init__(self, source_root: str, subdir: str, subproject: str, visitors: T.Optional[T.List[AstVisitor]] = None) -> None:
+ def __init__(self, source_root: str, subdir: str, subproject: str, visitors: T.Optional[T.List[AstVisitor]] = None):
super().__init__(source_root, subdir, subproject)
self.visitors = visitors if visitors is not None else []
self.visited_subdirs = {} # type: T.Dict[str, bool]