diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2021-06-02 13:28:57 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2021-06-04 20:10:05 -0700 |
commit | ff0fd7d44c3a108a361fa62fdeb349ef7d288b0e (patch) | |
tree | aba84b9a361554743bde12fcc48f83ba68c56ed1 | |
parent | b107171307505e1493f76b53ace7db1ac070e819 (diff) | |
download | meson-ff0fd7d44c3a108a361fa62fdeb349ef7d288b0e.zip meson-ff0fd7d44c3a108a361fa62fdeb349ef7d288b0e.tar.gz meson-ff0fd7d44c3a108a361fa62fdeb349ef7d288b0e.tar.bz2 |
build: Add a type annotation to CustomTarget
-rw-r--r-- | mesonbuild/build.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py index dc375cc..a4d14d0 100644 --- a/mesonbuild/build.py +++ b/mesonbuild/build.py @@ -2242,7 +2242,7 @@ class CustomTarget(Target, CommandBase): self.typename = 'custom' # TODO expose keyword arg to make MachineChoice.HOST configurable super().__init__(name, subdir, subproject, False, MachineChoice.HOST) - self.dependencies = [] + self.dependencies: T.List[T.Union[CustomTarget, BuildTarget]] = [] self.extra_depends = [] self.depend_files = [] # Files that this target depends on but are not on the command line. self.depfile = None |