Skip to content

Commit 8f25403

Browse files
committed
pre-commit fixes
1 parent 1cd0ec2 commit 8f25403

File tree

10 files changed

+9
-9
lines changed

10 files changed

+9
-9
lines changed

py/objstrunicode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ STATIC void uni_print_quoted(const mp_print_t *print, const byte *str_data, uint
7373
mp_print_str(print, "\\r");
7474
} else if (ch == '\t') {
7575
mp_print_str(print, "\\t");
76-
// CIRCUITPY-CHANGE: print printable Unicode chars
76+
// CIRCUITPY-CHANGE: print printable Unicode chars
7777
} else if (ch <= 0x1f || (0x7f <= ch && ch <= 0xa0) || ch == 0xad) {
7878
mp_printf(print, "\\x%02x", ch);
7979
} else if ((0x2000 <= ch && ch <= 0x200f) || ch == 0x2028 || ch == 0x2029) {

py/runtime.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1297,7 +1297,7 @@ void mp_store_attr(mp_obj_t base, qstr attr, mp_obj_t value) {
12971297
// success
12981298
return;
12991299
}
1300-
// CIRCUITPY-CHANGE: https://github.com/adafruit/circuitpython/pull/50
1300+
// CIRCUITPY-CHANGE: https://github.com/adafruit/circuitpython/pull/50
13011301
#if MICROPY_PY_BUILTINS_PROPERTY
13021302
} else if (MP_OBJ_TYPE_HAS_SLOT(type, locals_dict)) {
13031303
// generic method lookup

shared/memzip/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,3 @@ $(BUILD)/memzip-files.c: $(shell find ${MEMZIP_DIR} -type f)
2525
@$(ECHO) "Creating $@"
2626
$(Q)$(PYTHON) $(MAKE_MEMZIP) --zip-file $(BUILD)/memzip-files.zip --c-file $@ $(MEMZIP_DIR)
2727
```
28-

shared/memzip/lexermemzip.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,3 @@ mp_lexer_t *mp_lexer_new_from_file(const char *filename)
1616

1717
return mp_lexer_new_from_str_len(qstr_from_str(filename), (const char *)data, (mp_uint_t)len, 0);
1818
}
19-

tests/extmod/asyncio_basic.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
print("SKIP")
55
raise SystemExit
66

7+
78
# CIRCUITPY-CHANGE: CircuitPython provides __await__()
89
async def foo():
910
return 42

tests/import/ext/micropython.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# micropython is always builtin and cannot be overriden by the filesystem.
1+
# micropython is always builtin and cannot be overridden by the filesystem.
22
print("ERROR: micropython from filesystem")

tests/import/ext/sys.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# sys is always builtin and cannot be overriden by the filesystem.
1+
# sys is always builtin and cannot be overridden by the filesystem.
22
print("ERROR: sys from filesystem")

tests/import/ext/usys.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# usys (and any u-prefix) is always builtin and cannot be overriden by the
1+
# usys (and any u-prefix) is always builtin and cannot be overridden by the
22
# filesystem.
33
print("ERROR: usys from filesystem")

tests/run-natmodtests.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"heapq": "heapq/heapq_$(ARCH).mpy",
2121
"random": "random/random_$(ARCH).mpy",
2222
"re": "re/re_$(ARCH).mpy",
23-
"zlib": "zlib/zlib_$(ARCH).mpy",}
23+
"zlib": "zlib/zlib_$(ARCH).mpy",
24+
}
2425

2526
# Code to allow a target MicroPython to import an .mpy from RAM
2627
injected_import_hook_code = """\

tools/merge_micropython.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
]
4343
for p in ports_to_delete:
4444
try:
45-
git.rm("-rf", "ports/" + p)XC
45+
git.rm("-rf", "ports/" + p)
4646
except sh.ErrorReturnCode_128:
4747
pass
4848

0 commit comments

Comments
 (0)