mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-24 23:38:09 +00:00
tools: add fmt:off to res_collect
This commit is contained in:
parent
9122587825
commit
28455a8789
@ -42,6 +42,7 @@ for name in os.listdir('apps/'):
|
|||||||
resfile = 'trezor/res/resources.py'
|
resfile = 'trezor/res/resources.py'
|
||||||
|
|
||||||
bio = io.StringIO()
|
bio = io.StringIO()
|
||||||
|
bio.write('# fmt: off\n')
|
||||||
bio.write('resdata = {\n')
|
bio.write('resdata = {\n')
|
||||||
for k in sorted(resources.keys()):
|
for k in sorted(resources.keys()):
|
||||||
bio.write(" '%s': %s,\n" % (k, resources[k]))
|
bio.write(" '%s': %s,\n" % (k, resources[k]))
|
||||||
|
Loading…
Reference in New Issue
Block a user