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
+1 -1
View File
@@ -436,7 +436,7 @@ void BinaryItemDelegate::drawSignalCell(QPainter *painter, const QStyleOptionVie
auto item = (const BinaryViewModel::Item *)index.internalPointer();
QColor color = sig->color;
color.setAlpha(item->bg_color.alpha());
// Mixing the signal colour with the Base background color to fade it
// Mixing the signal color with the Base background color to fade it
painter->fillRect(rc, option.palette.color(QPalette::Base));
painter->fillRect(rc, color);
+3 -3
View File
@@ -44,10 +44,10 @@ def send_thread(j: PandaJungle, flock):
i = (rk.frame*DT_CTRL) % (IGN_ON + IGN_OFF) < IGN_ON
j.set_ignition(i)
snd = CAN_MSGS[rk.frame % len(CAN_MSGS)]
snd = list(filter(lambda x: x[-1] <= 2, snd))
send = CAN_MSGS[rk.frame % len(CAN_MSGS)]
send = list(filter(lambda x: x[-1] <= 2, send))
try:
j.can_send_many(snd)
j.can_send_many(send)
except usb1.USBErrorTimeout:
# timeout is fine, just means the CAN TX buffer is full
pass
+1 -1
View File
@@ -163,7 +163,7 @@ TEST_CASE("seek_to") {
Replay replay(DEMO_ROUTE, {}, {}, nullptr, REPLAY_FLAG_NO_VIPC);
QObject::connect(&replay, &Replay::seekedTo, [&](double sec) {
INFO("seek to " << seek_to << "s seeked to" << sec);
INFO("seek to " << seek_to << "s sought to" << sec);
REQUIRE(sec >= seek_to);
loop.quit();
});