forked from platformio/platformio-core
Formatter: allow multiline lambdas
This commit is contained in:
@ -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
|
||||
|
@ -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):
|
||||
|
Reference in New Issue
Block a user