@@ -991,7 +991,9 @@ def read_protect_efuse(self, efuse_names: list[str]):
991991 ]
992992 if error :
993993 raise esptool .FatalError (
994- "{} must be readable, stop this operation!" .format (efuse_name )
994+ "{} must be readable, stop this operation!" .format (
995+ efuse_name
996+ )
995997 )
996998 else :
997999 for block in self .efuses .Blocks .BLOCKS :
@@ -1001,7 +1003,9 @@ def read_protect_efuse(self, efuse_names: list[str]):
10011003 self .efuses [block .key_purpose ].get ()
10021004 ):
10031005 raise esptool .FatalError (
1004- "{} must be readable, stop this operation!" .format (efuse_name )
1006+ "{} must be readable, stop this operation!" .format (
1007+ efuse_name
1008+ )
10051009 )
10061010 break
10071011 # make full list of which efuses will be disabled
@@ -1013,7 +1017,9 @@ def read_protect_efuse(self, efuse_names: list[str]):
10131017 ]
10141018 names = ", " .join (e .name for e in all_disabling )
10151019 log .print (
1016- "Permanently read-disabling eFuse{} {}" .format ("s" if len (all_disabling ) > 1 else "" , names )
1020+ "Permanently read-disabling eFuse{} {}" .format (
1021+ "s" if len (all_disabling ) > 1 else "" , names
1022+ )
10171023 )
10181024 efuse .disable_read ()
10191025
@@ -1054,7 +1060,9 @@ def write_protect_efuse(self, efuse_names: list[str]):
10541060 ]
10551061 names = ", " .join (e .name for e in all_disabling )
10561062 log .print (
1057- "Permanently write-disabling eFuse{} {}" .format ("s" if len (all_disabling ) > 1 else "" , names )
1063+ "Permanently write-disabling eFuse{} {}" .format (
1064+ "s" if len (all_disabling ) > 1 else "" , names
1065+ )
10581066 )
10591067 efuse .disable_write ()
10601068
@@ -1165,7 +1173,9 @@ def burn_bit(self, block: str, bit_number: list[int]):
11651173 data_block .reverse ()
11661174 log .print (
11671175 "bit_number: "
1168- "[{:03d}]........................................................[0]" .format (data_block .len - 1 )
1176+ "[{:03d}]........................................................[0]" .format (
1177+ data_block .len - 1
1178+ )
11691179 )
11701180 log .print ("BLOCK{:>2d} :" .format (block_obj .id ), data_block )
11711181 block_obj .print_block (data_block , "regs_to_write" , debug = True )
0 commit comments