flake8: remove some redundant separators

pull/10011/head
Eli Schwartz 3 years ago
parent 07d9c72e17
commit 60c893f1c2
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6
  1. 2
      mesonbuild/compilers/detect.py
  2. 2
      mesonbuild/interpreter/interpreter.py
  3. 2
      mesonbuild/msubprojects.py

@ -392,7 +392,7 @@ def _detect_c_or_cpp_compiler(env: 'Environment', lang: str, for_machine: Machin
watcom_cls = [sanitize(os.path.join(os.environ['WATCOM'], 'BINNT', 'cl')),
sanitize(os.path.join(os.environ['WATCOM'], 'BINNT', 'cl.exe')),
sanitize(os.path.join(os.environ['WATCOM'], 'BINNT64', 'cl')),
sanitize(os.path.join(os.environ['WATCOM'], 'BINNT64', 'cl.exe')),]
sanitize(os.path.join(os.environ['WATCOM'], 'BINNT64', 'cl.exe'))]
found_cl = sanitize(shutil.which('cl'))
if found_cl in watcom_cls:
mlog.debug('Skipping unsupported cl.exe clone at:', found_cl)

@ -1706,7 +1706,7 @@ external dependencies (including libraries) must go to "dependencies".''')
kwargs['output'][0],
self.subdir,
self.subproject,
self.environment.get_build_command() + \
self.environment.get_build_command() +
['--internal',
'vcstagger',
'@INPUT0@',

@ -586,7 +586,7 @@ def add_arguments(parser: argparse.ArgumentParser) -> None:
p = subparsers.add_parser('update', help='Update all subprojects from wrap files')
p.add_argument('--rebase', default=True, action='store_true',
help='Rebase your branch on top of wrap\'s revision. ' + \
help='Rebase your branch on top of wrap\'s revision. ' +
'Deprecated, it is now the default behaviour. (git only)')
p.add_argument('--reset', default=False, action='store_true',
help='Checkout wrap\'s revision and hard reset to that commit. (git only)')

Loading…
Cancel
Save