forked from platformio/platformio-core
Formatter: allow multiline lambdas
This commit is contained in:
@ -1,2 +1,3 @@
|
|||||||
[style]
|
[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:
|
if not keep_build_dir:
|
||||||
rmtree(
|
rmtree(
|
||||||
build_dir,
|
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):
|
def _clean_dir(dirpath):
|
||||||
|
Reference in New Issue
Block a user