diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2021-10-21 19:05:27 -0400 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2021-10-27 09:51:52 -0400 |
commit | 894735288920816b9ad668ca27ce2e013a3f2640 (patch) | |
tree | 62d4d41bd5adf436507968447480c08120a14a6e /mesonbuild/linkers | |
parent | 81a2c1b36d91702d82234136ed1868c7118af322 (diff) | |
download | meson-894735288920816b9ad668ca27ce2e013a3f2640.zip meson-894735288920816b9ad668ca27ce2e013a3f2640.tar.gz meson-894735288920816b9ad668ca27ce2e013a3f2640.tar.bz2 |
fix various flake8 whitespace errors
Diffstat (limited to 'mesonbuild/linkers')
-rw-r--r-- | mesonbuild/linkers/detect.py | 10 | ||||
-rw-r--r-- | mesonbuild/linkers/linkers.py | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/mesonbuild/linkers/detect.py b/mesonbuild/linkers/detect.py index f936e56..0bfd708 100644 --- a/mesonbuild/linkers/detect.py +++ b/mesonbuild/linkers/detect.py @@ -54,9 +54,9 @@ def __failed_to_detect_linker(compiler: T.List[str], args: T.List[str], stdout: def guess_win_linker(env: 'Environment', compiler: T.List[str], comp_class: T.Type['Compiler'], - for_machine: MachineChoice, *, - use_linker_prefix: bool = True, invoked_directly: bool = True, - extra_args: T.Optional[T.List[str]] = None) -> 'DynamicLinker': + for_machine: MachineChoice, *, + use_linker_prefix: bool = True, invoked_directly: bool = True, + extra_args: T.Optional[T.List[str]] = None) -> 'DynamicLinker': env.coredata.add_lang_args(comp_class.language, comp_class, for_machine, env) # Explicitly pass logo here so that we can get the version of link.exe @@ -124,8 +124,8 @@ def guess_win_linker(env: 'Environment', compiler: T.List[str], comp_class: T.Ty __failed_to_detect_linker(compiler, check_args, o, e) def guess_nix_linker(env: 'Environment', compiler: T.List[str], comp_class: T.Type['Compiler'], - for_machine: MachineChoice, *, - extra_args: T.Optional[T.List[str]] = None) -> 'DynamicLinker': + for_machine: MachineChoice, *, + extra_args: T.Optional[T.List[str]] = None) -> 'DynamicLinker': """Helper for guessing what linker to use on Unix-Like OSes. :compiler: Invocation to use to get linker diff --git a/mesonbuild/linkers/linkers.py b/mesonbuild/linkers/linkers.py index e535ea0..334fc4f 100644 --- a/mesonbuild/linkers/linkers.py +++ b/mesonbuild/linkers/linkers.py @@ -1380,7 +1380,7 @@ class AIXDynamicLinker(PosixDynamicLinkerMixin, DynamicLinker): if len(sys_path) == 0: # get_compiler_system_dirs doesn't support our compiler. # Use the default system library path - all_paths.update(['/usr/lib','/lib']) + all_paths.update(['/usr/lib', '/lib']) else: # Include the compiler's default library paths, but filter out paths that don't exist for p in sys_path: |