backend/backends: add type annotations to RegenInfo

pull/9143/head
Dylan Baker 3 years ago committed by Daniel Mensinger
parent b2684a9887
commit 2664153d24
  1. 2
      mesonbuild/backend/backends.py

@ -48,7 +48,7 @@ if T.TYPE_CHECKING:
LANGS_CANT_UNITY = ('d', 'fortran', 'vala') LANGS_CANT_UNITY = ('d', 'fortran', 'vala')
class RegenInfo: 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.source_dir = source_dir
self.build_dir = build_dir self.build_dir = build_dir
self.depfiles = depfiles self.depfiles = depfiles

Loading…
Cancel
Save