diff --git a/.style.yapf b/.style.yapf index 0a658196..7bc85964 100644 --- a/.style.yapf +++ b/.style.yapf @@ -1,2 +1,3 @@ [style] -blank_line_before_nested_class_or_def = true \ No newline at end of file +blank_line_before_nested_class_or_def = true +allow_multiline_lambdas = true diff --git a/platformio/commands/ci.py b/platformio/commands/ci.py index 401b00ff..886c9506 100644 --- a/platformio/commands/ci.py +++ b/platformio/commands/ci.py @@ -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):