aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-08-10 12:03:10 -0700
committerDaniel Mensinger <daniel@mensinger-ka.de>2021-08-20 18:57:19 +0200
commit9fb19ed9237da5643bbf306f13d7710423f5e6b0 (patch)
treed811d8bbe00722c304b113720a49004a84ce765d
parent2664153d24a6ca98b27da8589cc5a81345446eee (diff)
downloadmeson-9fb19ed9237da5643bbf306f13d7710423f5e6b0.zip
meson-9fb19ed9237da5643bbf306f13d7710423f5e6b0.tar.gz
meson-9fb19ed9237da5643bbf306f13d7710423f5e6b0.tar.bz2
backend/backends: Add type annotations to CleanTrees
-rw-r--r--mesonbuild/backend/backends.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py
index ff8a71f..b608393 100644
--- a/mesonbuild/backend/backends.py
+++ b/mesonbuild/backend/backends.py
@@ -88,7 +88,7 @@ class CleanTrees:
Directories outputted by custom targets that have to be manually cleaned
because on Linux `ninja clean` only deletes empty directories.
'''
- def __init__(self, build_dir, trees):
+ def __init__(self, build_dir: str, trees: T.List[str]):
self.build_dir = build_dir
self.trees = trees