remove f from f-string that has no formatting

pull/9348/head
Eli Schwartz 4 years ago
parent b2ddda7013
commit 1bb2523e58
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6
  1. 2
      mesonbuild/dependencies/base.py
  2. 2
      mesonbuild/interpreter/interpreterobjects.py
  3. 2
      mesonbuild/mconf.py

@ -496,7 +496,7 @@ def process_method_kw(possible: T.Iterable[DependencyMethods], kwargs: T.Dict[st
FeatureDeprecated.single_use(f'Configuration method {method.value}', '0.44', 'Use "config-tool" instead.')
method = DependencyMethods.CONFIG_TOOL
if method is DependencyMethods.QMAKE:
FeatureDeprecated.single_use(f'Configuration method "qmake"', '0.58', 'Use "config-tool" instead.')
FeatureDeprecated.single_use('Configuration method "qmake"', '0.58', 'Use "config-tool" instead.')
method = DependencyMethods.CONFIG_TOOL
# Set the detection method. If the method is set to auto, use any available method.

@ -975,7 +975,7 @@ class GeneratorHolder(ObjectHolder[build.Generator]):
if any(isinstance(a, (build.CustomTarget, build.CustomTargetIndex, build.GeneratedList)) for a in args[0]):
FeatureNew.single_use(
f'Calling generator.process with CustomTaget or Index of CustomTarget.',
'Calling generator.process with CustomTaget or Index of CustomTarget.',
'0.57.0', self.interpreter.subproject)
gl = self.held_object.process_files(args[0], self.interpreter,

@ -298,7 +298,7 @@ class Conf:
if not mismatching:
return
print("\nThe following option(s) have a different value than the build type default\n")
print(f' current default')
print(' current default')
for m in mismatching:
print(f'{m[0]:21}{m[1]:10}{m[2]:10}')

Loading…
Cancel
Save