mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 11:40:18 +01:00
top: Bump Ruff version to v0.11.6.
Brings it into sync with a matching change to micropython-lib (which was much older). Includes one small automatic fix. Signed-off-by: Angus Gratton <angus@redyak.com.au>
This commit is contained in:
committed by
Damien George
parent
0b72962336
commit
f5cb9eb974
@@ -1131,7 +1131,7 @@ def load_object_file(env, f, felf):
|
||||
elif sym.entry["st_shndx"] == "SHN_UNDEF" and sym["st_info"]["bind"] == "STB_GLOBAL":
|
||||
# Undefined global symbol, needs resolving
|
||||
env.unresolved_syms.append(sym)
|
||||
if len(dup_errors):
|
||||
if dup_errors:
|
||||
raise LinkError("\n".join(dup_errors))
|
||||
|
||||
|
||||
@@ -1214,7 +1214,7 @@ def link_objects(env, native_qstr_vals_len):
|
||||
else:
|
||||
undef_errors.append("{}: undefined symbol: {}".format(sym.filename, sym.name))
|
||||
|
||||
if len(undef_errors):
|
||||
if undef_errors:
|
||||
raise LinkError("\n".join(undef_errors))
|
||||
|
||||
# Align sections, assign their addresses, and create full_text
|
||||
|
||||
Reference in New Issue
Block a user