summaryrefslogtreecommitdiff
path: root/mesonbuild/modules
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2022-09-07 15:38:36 -0700
committerEli Schwartz <eschwartz@archlinux.org>2022-10-04 00:33:14 -0400
commitdf1b95cf2b015fc5b756609f2cae1e0dc7176702 (patch)
tree71acad3b558074c4ef76724c39721a561ddd2c53 /mesonbuild/modules
parenta72840cd2e27bf18b88cf95ef6a9e5e3ab05427d (diff)
downloadmeson-df1b95cf2b015fc5b756609f2cae1e0dc7176702.tar.gz
pylint: enable consider-merging-isinstance
Diffstat (limited to 'mesonbuild/modules')
-rw-r--r--mesonbuild/modules/hotdoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/hotdoc.py b/mesonbuild/modules/hotdoc.py
index d2445db0f..d17db774c 100644
--- a/mesonbuild/modules/hotdoc.py
+++ b/mesonbuild/modules/hotdoc.py
@@ -207,7 +207,7 @@ class HotdocTargetBuilder:
self.add_include_path(os.path.join(self.builddir, dep.hotdoc_conf.subdir))
self.cmd += ['--extra-assets=' + p for p in dep.extra_assets]
self.add_extension_paths(dep.extra_extension_paths)
- elif isinstance(dep, build.CustomTarget) or isinstance(dep, build.BuildTarget):
+ elif isinstance(dep, (build.CustomTarget, build.BuildTarget)):
self._dependencies.append(dep)
elif isinstance(dep, build.CustomTargetIndex):
self._dependencies.append(dep.target)