From 2664153d24a6ca98b27da8589cc5a81345446eee Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 10 Aug 2021 12:02:45 -0700 Subject: backend/backends: add type annotations to RegenInfo --- mesonbuild/backend/backends.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py index 19b94d897..ff8a71fa2 100644 --- a/mesonbuild/backend/backends.py +++ b/mesonbuild/backend/backends.py @@ -48,7 +48,7 @@ if T.TYPE_CHECKING: LANGS_CANT_UNITY = ('d', 'fortran', 'vala') class RegenInfo: - def __init__(self, source_dir, build_dir, depfiles): + def __init__(self, source_dir: str, build_dir: str, depfiles: T.List[str]): self.source_dir = source_dir self.build_dir = build_dir self.depfiles = depfiles -- cgit v1.2.3