Formatter: allow multiline lambdas

This commit is contained in:
Ivan Kravets
2016-08-04 00:55:07 +03:00
parent 941c7ffd07
commit d27c31a389
2 changed files with 4 additions and 2 deletions

View File

@ -1,2 +1,3 @@
[style]
blank_line_before_nested_class_or_def = true
blank_line_before_nested_class_or_def = true
allow_multiline_lambdas = true

View File

@ -121,7 +121,8 @@ def cli(ctx, # pylint: disable=R0913
if not keep_build_dir:
rmtree(
build_dir,
onerror=lambda action, name, exc: (chmod(name, stat.S_IWRITE), remove(name)))
onerror=lambda action, name, exc: (chmod(name, stat.S_IWRITE),
remove(name)))
def _clean_dir(dirpath):