fix all codespell issues (#33194)

* bring back

* remove 2020 dictionary
old-commit-hash: 44c7144e1c5f5aa66596c8d240b64827148b960d
This commit is contained in:
Maxime Desroches
2024-08-05 15:25:02 -07:00
committed by GitHub
parent 10af4af68f
commit df13b36638
9 changed files with 16 additions and 16 deletions

View File

@@ -342,7 +342,7 @@ class TestAthenadMethods:
athenad.upload_queue.put_nowait(item1)
athenad.upload_queue.put_nowait(item2)
# Ensure cancelled items are not persisted
# Ensure canceled items are not persisted
athenad.cancelled_uploads.add(item2.id)
# serialize item

View File

@@ -65,7 +65,7 @@ class TestAthenadPing:
mock_create_connection.assert_called_once()
mock_create_connection.reset_mock()
# check normal behaviour, server pings on connection
# check normal behavior, server pings on connection
with subtests.test("Wi-Fi: receives ping"), Timeout(70, "no ping received"):
while not self._received_ping():
time.sleep(0.1)

View File

@@ -192,8 +192,8 @@ gps_measurement_report_sv = """
int16_t latency; // Age of the measurement in msecs (+ve meas Meas precedes ref time)
uint8_t predetect_interval; // Pre-Detection (Coherent) Interval (msecs)
uint16_t postdetections; // Num Post-Detections (uints of PreInts
uint32_t unfiltered_measurement_integral; // Range of 0 thru (WEEK_MSECS-1) [msecs]
float unfiltered_measurement_fraction; // Range of 0 thru 0.99999 [msecs]
uint32_t unfiltered_measurement_integral; // Range of 0 through (WEEK_MSECS-1) [msecs]
float unfiltered_measurement_fraction; // Range of 0 through 0.99999 [msecs]
float unfiltered_time_uncertainty; // Time uncertainty (msec)
float unfiltered_speed; // Speed estimate (meters/sec)
float unfiltered_speed_uncertainty; // Speed uncertainty estimate (meters/sec)

View File

@@ -174,7 +174,7 @@ kj::Array<capnp::word> UbloxMsgParser::parse_gps_ephemeris(ubx_t::rxm_sfrbx_t *m
int subframe_id = subframe.how()->subframe_id();
if (subframe_id > 3 || subframe_id < 1) {
// dont parse almanac subframes
// don't parse almanac subframes
return kj::Array<capnp::word>();
}
gps_subframes[msg->sv_id()][subframe_id] = subframe_data;
@@ -286,7 +286,7 @@ kj::Array<capnp::word> UbloxMsgParser::parse_glonass_ephemeris(ubx_t::rxm_sfrbx_
glonass_t gl_string(&stream);
int string_number = gl_string.string_number();
if (string_number < 1 || string_number > 5 || gl_string.idle_chip()) {
// dont parse non immediate data, idle_chip == 0
// don't parse non immediate data, idle_chip == 0
return kj::Array<capnp::word>();
}