From d67888bf9b398b9ff9709d396569260f98971e8a Mon Sep 17 00:00:00 2001 From: Daniel Mensinger Date: Tue, 28 Jan 2020 20:57:07 +0100 Subject: types: Remove redundant __init__() -> None annotation --- mesonbuild/ast/interpreter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesonbuild/ast/interpreter.py') 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] -- cgit v1.1