Commit Graph

11 Commits

Author SHA1 Message Date
Shane Smiskol
1302e1bb25 ruff: enable preview rules (#2621)
* preview

* fmt

* fix formatting!

* Revert "fix formatting!"

This reverts commit 559d291cfa27c3500e5fa3105ffdea809bdd1b27.

* some of these are good, but can enable in steps

* and

* ruff check --fix

* preview

* format
2025-08-04 15:38:04 -07:00
Adeeb Shihadeh
698ca0ad71 safety: to_push/to_send -> msg (#2553)
* safety: to_push/to_send -> msg

* fix
2025-07-25 12:12:17 -07:00
Adeeb Shihadeh
4fe147125a no more pylint (#2348)
no pylint
2025-06-01 13:48:34 -07:00
Shane Smiskol
cc3f122c6d safety: move Honda to msg block config (#2103)
* do honda nidec

* Do Bosch Radarless long

* we don't care about blocking stock message to radar because it is disabled (0 is radar, 1 is pt which we are sending to)

* same for 0xe5, and it's not on bosch radarless

* rest Honda
2025-04-11 18:50:41 -07:00
Shane Smiskol
29a6703d97 safety tests: remove redundant test skips (#1983)
remove useless skiptests
2025-03-11 17:03:00 -07:00
Shane Smiskol
524f1a9362 Honda safety: only test alt brake for alt brake param
split from https://github.com/commaai/opendbc/pull/1903
2025-03-11 16:11:07 -07:00
Shane Smiskol
5eb9de5e3b safety: relay malfunction config (#1959)
* Do Toyota relay malfunction config

* clean up

* not needed

* rm this

* rm

* fix

* great name (rename after https://github.com/commaai/opendbc/pull/1954)

* do gm

* need this since we will dynamically block it

* subie

* some more brands

* Ford

* Chrysler

* Hyundai

* huge oof hyundai

* toyota & vw

* fix

* tesla

* 0x194 isn't on Honda Bosch

* Honda: we can check bus 1 for 0xe4

* misra

* static

* ugh need this

* correct

* nl

* like

* space
2025-03-10 20:08:17 -07:00
Shane Smiskol
5c5273a7ab safety tests: common attrs (#1948)
* set FWD_BUS_LOOKUP to most common

* this is always assumed to be a number, test models tests mismatches

* clean up

* and this
2025-03-07 16:28:15 -08:00
Shane Smiskol
1a5e908833 Safety flags: remove redundant namespace (#1778)
remove triple namespace
2025-02-20 22:02:38 -08:00
Adeeb Shihadeh
d68ad22371 Remove duplicate safety mode definition (#1776)
* Remove duplicate safety mode definition

* lil more

* lil more
2025-02-20 21:53:25 -08:00
Shane Smiskol
6f83fdf9b9 Move car safety modes to opendbc (#1713)
* move safety tests

* move libsafety

* move safety

* rename imports

* copy over needed (minimalized) board and driver code

* dont test safety here

* add new job for safety tests

fix

* try fix

* ubsan

* ?

?

* missing cffi

* should be final fix

* mac fix

* no mac

* use setup script

* no cd

* this is the correct way to do it

* add misra

* misra fixes

* run

* setup misra

* add missing files

* is this used?

* add that

* Revert "is this used?"

This reverts commit 2f34762dfa65821e1ee398675bf62d1a256ebec8.

* need this

* misra mutation test

* fix

* no race conditions

* test

* cache cppcheck

fix

* setup

* good timeouts

* mutation test

* fix

* no

* Revert "no"

This reverts commit 39e10a045a4a5411a64de791ae463461f8a5f37b.

* already tested

* move Safety Model readme section to opendbc

* fix

* fix

* disable mutation tests for merge

* namespace

* test no cache

* 1m

1m
2025-02-19 17:19:31 -08:00