aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mintro.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2022-09-02 13:25:04 -0700
committerEli Schwartz <eschwartz93@gmail.com>2022-09-19 20:57:52 -0400
commit4da14918cd7ad6566f2a986d2dd1aaa87bf66198 (patch)
tree0bfbad0067d9ac015bfe8adb833bfd9cb5a96ce1 /mesonbuild/mintro.py
parent6f7ea0cc28c9e777c57c74b4d7c2d13604e48ba6 (diff)
downloadmeson-4da14918cd7ad6566f2a986d2dd1aaa87bf66198.zip
meson-4da14918cd7ad6566f2a986d2dd1aaa87bf66198.tar.gz
meson-4da14918cd7ad6566f2a986d2dd1aaa87bf66198.tar.bz2
pylint: enable consider-using-in
Diffstat (limited to 'mesonbuild/mintro.py')
-rw-r--r--mesonbuild/mintro.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/mintro.py b/mesonbuild/mintro.py
index affaf9a..154e603 100644
--- a/mesonbuild/mintro.py
+++ b/mesonbuild/mintro.py
@@ -323,7 +323,7 @@ def find_buildsystem_files_list(src_dir: str) -> T.List[str]:
filelist = [] # type: T.List[str]
for root, _, files in os.walk(src_dir):
for f in files:
- if f == 'meson.build' or f == 'meson_options.txt':
+ if f in {'meson.build', 'meson_options.txt'}:
filelist.append(os.path.relpath(os.path.join(root, f), src_dir))
return filelist