From 4da14918cd7ad6566f2a986d2dd1aaa87bf66198 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Fri, 2 Sep 2022 13:25:04 -0700 Subject: pylint: enable consider-using-in --- mesonbuild/environment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesonbuild/environment.py') diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index 394b08093..bf6d3748b 100644 --- a/mesonbuild/environment.py +++ b/mesonbuild/environment.py @@ -276,7 +276,7 @@ def detect_windows_arch(compilers: CompilersDict) -> str: # 32-bit and pretend like we're running under WOW64. Else, return the # actual Windows architecture that we deduced above. for compiler in compilers.values(): - if compiler.id == 'msvc' and (compiler.target == 'x86' or compiler.target == '80x86'): + if compiler.id == 'msvc' and (compiler.target in {'x86', '80x86'}): return 'x86' if compiler.id == 'clang-cl' and compiler.target == 'x86': return 'x86' -- cgit v1.2.3