aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-08-10 12:05:08 -0700
committerDaniel Mensinger <daniel@mensinger-ka.de>2021-08-20 18:57:19 +0200
commit6785504b535bfdfd276ced104f71eb1290fa6bdb (patch)
treea2e385b59b4619885e44c65a447f477d1d4f17fb
parentccab6d9c84c62755b1da74a6a3ba8c52b7ce8343 (diff)
downloadmeson-6785504b535bfdfd276ced104f71eb1290fa6bdb.zip
meson-6785504b535bfdfd276ced104f71eb1290fa6bdb.tar.gz
meson-6785504b535bfdfd276ced104f71eb1290fa6bdb.tar.bz2
backend/backends: Add type annotations to SubdirInstallData
-rw-r--r--mesonbuild/backend/backends.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py
index 4d44031..e8c4e62 100644
--- a/mesonbuild/backend/backends.py
+++ b/mesonbuild/backend/backends.py
@@ -143,7 +143,8 @@ class InstallDataBase:
class SubdirInstallData(InstallDataBase):
def __init__(self, path: str, install_path: str, install_mode: 'FileMode',
- exclude, subproject: str, tag: T.Optional[str] = None):
+ exclude: T.Tuple[T.Set[str], T.Set[str]], subproject: str,
+ tag: T.Optional[str] = None):
super().__init__(path, install_path, install_mode, subproject, tag)
self.exclude = exclude