forked from platformio/platformio-core
Formatter: allow multiline lambdas
This commit is contained in:
1 parent
941c7ffd07
commit
d27c31a389
2 files changed
+4
-2
No files matched your search
+2
-1
@@ -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