Skip to content

Commit 928e6bc

Browse files
committed
Add copespell ignores and fix stubs
1 parent 8c22e67 commit 928e6bc

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

ports/atmel-samd/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ LIBS += -lm
169169
endif
170170

171171
ifeq ($(CHIP_FAMILY), samd21)
172-
LDFLAGS += -mthumb -mcpu=cortex-m0plus -Lasf/thirdparty/CMSIS/Lib/GCC/
172+
LDFLAGS += -mthumb -mcpu=cortex-m0plus -Lasf/thirdparty/CMSIS/Lib/GCC/ # codespell:ignore thirdparty
173173
BOOTLOADER_SIZE := 0x2000
174174
else ifeq ($(CHIP_FAMILY), samd51)
175175
LDFLAGS += -mthumb -mcpu=cortex-m4

ports/cxd56/mkspk/clefia.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -466,16 +466,16 @@ int clefiakeyset(unsigned char *rk, const unsigned char *skey) {
466466

467467
void clefiaencrypt(unsigned char *ct, const unsigned char *pt,
468468
const unsigned char *rk, const int r) {
469-
unsigned char rin[16];
469+
unsigned char r_in[16];
470470
unsigned char rout[16];
471471

472-
bytecpy(rin, pt, 16);
472+
bytecpy(r_in, pt, 16);
473473

474-
bytexor(rin + 4, rin + 4, rk + 0, 4); /* initial key whitening */
475-
bytexor(rin + 12, rin + 12, rk + 4, 4);
474+
bytexor(r_in + 4, r_in + 4, rk + 0, 4); /* initial key whitening */
475+
bytexor(r_in + 12, r_in + 12, rk + 4, 4);
476476
rk += 8;
477477

478-
clefiagfn4(rout, rin, rk, r); /* GFN_{4,r} */
478+
clefiagfn4(rout, r_in, rk, r); /* GFN_{4,r} */
479479

480480
bytecpy(ct, rout, 16);
481481
bytexor(ct + 4, ct + 4, rk + r * 8 + 0, 4); /* final key whitening */

ports/espressif/tools/update_sdkconfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ def update(debug, board, update_all): # noqa: C901: too complex
321321
if print_debug:
322322
print(" " * len(current_group), i, config_string.strip())
323323

324-
# Some files are `rsource`d into another kconfig with $IDF_TARGET as
324+
# Some files are `rsource`d into another kconfig with $IDF_TARGET as # codespell:ignore rsource
325325
# part of the path. kconfiglib doesn't show this as a reference so
326326
# we have to look ourselves.
327327
target_reference = target in item.name_and_loc

py/makeqstrdata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
954: "kappa", 8656: "lArr", 955: "lambda", 9001: "lang", 171: "laquo", 8592: "larr", 8968: "lceil",
5252
8220: "ldquo", 8804: "le", 8970: "lfloor", 8727: "lowast", 9674: "loz", 8206: "lrm", 8249: "lsaquo",
5353
8216: "lsquo", 60: "lt", 175: "macr", 8212: "mdash", 181: "micro", 183: "middot", 8722: "minus",
54-
956: "mu", 8711: "nabla", 160: "nbsp", 8211: "ndash", 8800: "ne", 8715: "ni", 172: "not", 8713: "notin",
54+
956: "mu", 8711: "nabla", 160: "nbsp", 8211: "ndash", 8800: "ne", 8715: "ni", 172: "not", 8713: "notin", # codespell:ignore notin
5555
8836: "nsub", 241: "ntilde", 957: "nu", 243: "oacute", 244: "ocirc", 339: "oelig", 242: "ograve",
5656
8254: "oline", 969: "omega", 959: "omicron", 8853: "oplus", 8744: "or", 170: "ordf", 186: "ordm",
5757
248: "oslash", 245: "otilde", 8855: "otimes", 246: "ouml", 182: "para", 8706: "part", 8240: "permil",

shared-bindings/i2cioexpander/IOExpander.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,8 @@ MP_PROPERTY_GETSET(i2cioexpander_ioexpander_output_mask_obj,
211211
(mp_obj_t)&i2cioexpander_ioexpander_set_output_mask_obj);
212212

213213
//| @property
214-
//| def pins(self) -> Tuple[DigitalInOutProtocol, ...]:
215-
//| """A tuple of pin objects that implement the DigitalInOutProtocol.
214+
//| def pins(self) -> Tuple[IOPin, ...]:
215+
//| """A tuple of `IOPin` objects that implement the DigitalInOutProtocol.
216216
//| Each pin can be used like a digitalio.DigitalInOut object."""
217217
//| ...
218218
static mp_obj_t i2cioexpander_ioexpander_obj_get_pins(mp_obj_t self_in) {

0 commit comments

Comments
 (0)