mirror of
https://github.com/mesonbuild/meson.git
synced 2026-11-06 05:16:42 +00:00
flake8: use plain strings instead of f-strings when no variables used
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -526,7 +526,7 @@ class InterpreterBase:
|
||||
self.argument_depth += 1
|
||||
reduced_pos = [self.evaluate_statement(arg) for arg in args.arguments]
|
||||
if any(x is None for x in reduced_pos):
|
||||
raise InvalidArguments(f'At least one value in the arguments is void.')
|
||||
raise InvalidArguments('At least one value in the arguments is void.')
|
||||
reduced_kw: T.Dict[str, InterpreterObject] = {}
|
||||
for key, val in args.kwargs.items():
|
||||
reduced_key = key_resolver(key)
|
||||
|
||||
@@ -65,7 +65,7 @@ def _setup_vsenv(force: bool) -> bool:
|
||||
bat_info = json.loads(bat_json)
|
||||
if not bat_info:
|
||||
# VS installer instelled but not VS itself maybe?
|
||||
raise MesonException(f'Could not parse vswhere.exe output')
|
||||
raise MesonException('Could not parse vswhere.exe output')
|
||||
bat_root = pathlib.Path(bat_info[0]['installationPath'])
|
||||
if platform.machine() == 'ARM64':
|
||||
bat_path = bat_root / 'VC/Auxiliary/Build/vcvarsx86_arm64.bat'
|
||||
|
||||
Reference in new issue
Block a user