pre-commit fixes
This commit is contained in:
parent
1cd0ec225f
commit
8f254035dd
@ -25,4 +25,3 @@ $(BUILD)/memzip-files.c: $(shell find ${MEMZIP_DIR} -type f)
|
||||
@$(ECHO) "Creating $@"
|
||||
$(Q)$(PYTHON) $(MAKE_MEMZIP) --zip-file $(BUILD)/memzip-files.zip --c-file $@ $(MEMZIP_DIR)
|
||||
```
|
||||
|
||||
|
@ -16,4 +16,3 @@ mp_lexer_t *mp_lexer_new_from_file(const char *filename)
|
||||
|
||||
return mp_lexer_new_from_str_len(qstr_from_str(filename), (const char *)data, (mp_uint_t)len, 0);
|
||||
}
|
||||
|
||||
|
@ -4,6 +4,7 @@ except ImportError:
|
||||
print("SKIP")
|
||||
raise SystemExit
|
||||
|
||||
|
||||
# CIRCUITPY-CHANGE: CircuitPython provides __await__()
|
||||
async def foo():
|
||||
return 42
|
||||
|
@ -1,2 +1,2 @@
|
||||
# micropython is always builtin and cannot be overriden by the filesystem.
|
||||
# micropython is always builtin and cannot be overridden by the filesystem.
|
||||
print("ERROR: micropython from filesystem")
|
||||
|
@ -1,2 +1,2 @@
|
||||
# sys is always builtin and cannot be overriden by the filesystem.
|
||||
# sys is always builtin and cannot be overridden by the filesystem.
|
||||
print("ERROR: sys from filesystem")
|
||||
|
@ -1,3 +1,3 @@
|
||||
# usys (and any u-prefix) is always builtin and cannot be overriden by the
|
||||
# usys (and any u-prefix) is always builtin and cannot be overridden by the
|
||||
# filesystem.
|
||||
print("ERROR: usys from filesystem")
|
||||
|
@ -20,7 +20,8 @@ TEST_MAPPINGS = {
|
||||
"heapq": "heapq/heapq_$(ARCH).mpy",
|
||||
"random": "random/random_$(ARCH).mpy",
|
||||
"re": "re/re_$(ARCH).mpy",
|
||||
"zlib": "zlib/zlib_$(ARCH).mpy",}
|
||||
"zlib": "zlib/zlib_$(ARCH).mpy",
|
||||
}
|
||||
|
||||
# Code to allow a target MicroPython to import an .mpy from RAM
|
||||
injected_import_hook_code = """\
|
||||
|
@ -42,7 +42,7 @@ ports_to_delete = [
|
||||
]
|
||||
for p in ports_to_delete:
|
||||
try:
|
||||
git.rm("-rf", "ports/" + p)XC
|
||||
git.rm("-rf", "ports/" + p)
|
||||
except sh.ErrorReturnCode_128:
|
||||
pass
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user