pylint: enable unnecessary-lambda

pull/10889/head
Dylan Baker 2 years ago committed by Eli Schwartz
parent 20d76b8353
commit f11ebf20ff
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6
  1. 1
      .pylintrc
  2. 2
      mesonbuild/backend/backends.py

@ -71,7 +71,6 @@ disable=
undefined-loop-variable,
unidiomatic-typecheck,
unnecessary-dict-index-lookup,
unnecessary-lambda,
unnecessary-lambda-assignment,
unsubscriptable-object,
unused-argument,

@ -1779,7 +1779,7 @@ class Backend:
source_list += [os.path.join(self.source_dir, j)]
elif isinstance(j, (build.CustomTarget, build.BuildTarget)):
source_list += [os.path.join(self.build_dir, j.get_subdir(), o) for o in j.get_outputs()]
source_list = list(map(lambda x: os.path.normpath(x), source_list))
source_list = [os.path.normpath(s) for s in source_list]
compiler: T.List[str] = []
if isinstance(target, build.CustomTarget):

Loading…
Cancel
Save