[misc] Update style to clang-format 19, black 25 and isort 6
This commit is contained in:
@@ -410,7 +410,7 @@ if not isfile(bootloader_dst):
|
||||
image_ota_clear = env.subst("${BUILD_DIR}/raw_ota_clear.bin")
|
||||
if not isfile(image_ota_clear):
|
||||
with open(image_ota_clear, "wb") as f:
|
||||
f.write(b"\xFF" * 4096)
|
||||
f.write(b"\xff" * 4096)
|
||||
|
||||
# Build all libraries
|
||||
queue.BuildLibraries()
|
||||
|
||||
@@ -21,7 +21,9 @@ extern const struct fal_flash_dev flash0;
|
||||
#define FAL_FLASH_DEV_NAME "flash0"
|
||||
|
||||
#define FAL_FLASH_DEV_TABLE \
|
||||
{ &flash0, }
|
||||
{ \
|
||||
&flash0, \
|
||||
}
|
||||
|
||||
#define FAL_DEV_NAME_MAX 16 // no need for 24 chars (default)
|
||||
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
# Copyright (c) Kuba Szczodrzyński 2022-07-29.
|
||||
|
||||
from typing import Union
|
||||
|
||||
from genericpath import isfile
|
||||
from typing import Union
|
||||
|
||||
from .dict import merge_dicts
|
||||
from .fileio import readjson
|
||||
|
||||
Reference in New Issue
Block a user