Skip to content

Commit a8abe8e

Browse files
committed
remove lib from exludes, fix all remaining typos
1 parent ce2c3d7 commit a8abe8e

File tree

14 files changed

+28
-15
lines changed

14 files changed

+28
-15
lines changed

.codespell/exclude-file.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#define MICROPY_HW_BOARD_NAME "BLOK"
2+
USB_PRODUCT = "BLOK"
3+
uint32_t THI = (*(uint32_t *)FUSES_HOT_TEMP_VAL_INT_ADDR & FUSES_HOT_TEMP_VAL_INT_Msk) >> FUSES_HOT_TEMP_VAL_INT_Pos;
4+
float TH = THI + convert_dec_to_frac(THD);
5+
print(binascii.b2a_base64(b"fo"))
6+
# again, neither will "there" or "wither", since they have "the"
7+
i1Qb$TE"rl

.codespell/ignore-words.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ pris
77
synopsys
88
reenable
99
dout
10+
inout
1011
wel
1112
iput
1213
hsi
@@ -17,3 +18,5 @@ dum
1718
deque
1819
deques
1920
extint
21+
shs
22+
pass-thru

.pre-commit-config.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ repos:
1616
hooks:
1717
- id: codespell
1818
#args: [-w]
19-
exclude: ^(locale/|lib/)
19+
exclude: |
20+
(?x)^(
21+
locale/|
22+
lib/
23+
)
2024
- repo: local
2125
hooks:
2226
- id: translations

ports/nrf/bluetooth/s140_nrf52_7.0.1/s140_nrf52_7.0.1_API/include/nrf_svc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ extern "C" {
4848
/** @brief Supervisor call declaration.
4949
*
5050
* A call to a function marked with @ref SVCALL, will trigger a Supervisor Call (SVC) Exception.
51-
* The SVCs with SVC numbers 0x00-0x0F are forwared to the application. All other SVCs are handled by the SoftDevice.
51+
* The SVCs with SVC numbers 0x00-0x0F are forwarded to the application. All other SVCs are handled by the SoftDevice.
5252
*
5353
* @param[in] number The SVC number to be used.
5454
* @param[in] return_type The return type of the SVC function.

ports/raspberrypi/mpconfigport.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ CIRCUITPY_ROTARYIO ?= 1
2121
CIRCUITPY_ROTARYIO_SOFTENCODER = 1
2222

2323
# Things that need to be implemented.
24-
# Use PWM interally
24+
# Use PWM internally
2525
CIRCUITPY_FREQUENCYIO = 0
2626
CIRCUITPY_I2CTARGET = 1
2727
CIRCUITPY_NVM = 1
28-
# Use PIO interally
28+
# Use PIO internally
2929
CIRCUITPY_PULSEIO ?= 1
3030
CIRCUITPY_WATCHDOG ?= 1
3131

ports/stm/common-hal/audiobusio/MEMS_Audio_ll_stm32l4.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ typedef struct MemsAudio_STM32L4SAIPDM_t {
148148
pdm_data_available_t pdm_data_available;
149149

150150
/**
151-
* @brief A cound of the number of PDM clients in use.
151+
* @brief A count of the number of PDM clients in use.
152152
*/
153153
uint32_t SAI1_client;
154154

py/emitbc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ STATIC void emit_write_bytecode_byte_obj(emit_t *emit, int stack_adj, byte b, mp
253253
emit_write_bytecode_byte(emit, stack_adj, b);
254254
emit->bytecode_offset = (size_t)MP_ALIGN(emit->bytecode_offset, sizeof(mp_obj_t));
255255
mp_obj_t *c = (mp_obj_t *)emit_get_cur_to_write_bytecode(emit, sizeof(mp_obj_t));
256-
// Verify thar c is already uint-aligned
256+
// Verify that c is already uint-aligned
257257
assert(c == MP_ALIGN(c, sizeof(mp_obj_t)));
258258
*c = obj;
259259
#endif
@@ -269,7 +269,7 @@ STATIC void emit_write_bytecode_byte_raw_code(emit_t *emit, int stack_adj, byte
269269
emit_write_bytecode_byte(emit, stack_adj, b);
270270
emit->bytecode_offset = (size_t)MP_ALIGN(emit->bytecode_offset, sizeof(void *));
271271
void **c = (void **)emit_get_cur_to_write_bytecode(emit, sizeof(void *));
272-
// Verify thar c is already uint-aligned
272+
// Verify that c is already uint-aligned
273273
assert(c == MP_ALIGN(c, sizeof(void *)));
274274
*c = rc;
275275
#endif

py/emitnative.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -944,7 +944,7 @@ STATIC void emit_access_stack(emit_t *emit, int pos, vtype_kind_t *vtype, int re
944944
}
945945

946946
// does an efficient X=pop(); discard(); push(X)
947-
// needs a (non-temp) register in case the poped element was stored in the stack
947+
// needs a (non-temp) register in case the popped element was stored in the stack
948948
STATIC void emit_fold_stack_top(emit_t *emit, int reg_dest) {
949949
stack_info_t *si = &emit->stack_info[emit->stack_size - 2];
950950
si[0] = si[1];

py/scope.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ typedef struct _id_info_t {
4949
uint8_t kind;
5050
uint8_t flags;
5151
// when it's an ID_INFO_KIND_LOCAL this is the unique number of the local
52-
// whet it's an ID_INFO_KIND_CELL/FREE this is the unique number of the closed over variable
52+
// when it's an ID_INFO_KIND_CELL/FREE this is the unique number of the closed over variable
5353
uint16_t local_num;
5454
qstr qst;
5555
} id_info_t;

shared-bindings/socketpool/SocketPool.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
//| returned by :py:attr:`wifi.radio`
5353
//| """
5454
//| ...
55-
//|
5655
STATIC mp_obj_t socketpool_socketpool_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *args) {
5756
mp_arg_check_num(n_args, n_kw, 1, 1, false);
5857

0 commit comments

Comments
 (0)