Commit Graph

12 Commits

Author SHA1 Message Date
Adeeb Shihadeh
2e6ca5dd05 debug: add summary to check_timings
old-commit-hash: 20a44bb4e9
2024-06-08 21:01:39 -07:00
Adeeb Shihadeh
f18c7e9b9d boardd: add debug flag for injecting SPI errors (#32346)
* pull out ll first

* errors

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2d838f95da
2024-05-07 21:36:04 -07:00
Cameron Clough
9bd90112d0 use pyupgrade to update to new typing syntax (#31580)
* add pyupgrade hook

* run pyupgrade (pre-commit run -a)

* ruff --fix

* Revert "add pyupgrade hook"

This reverts commit 56ec18bb6b8602a0b612f3803d96cdad14b52066.

* revert changes to third_party/

* manual type fixes

* explicit Optional wrapping capnp objects
old-commit-hash: 995250ae49
2024-02-24 16:41:23 -08:00
Adeeb Shihadeh
60cb813af5 ui: publish draw times + add test (#26119)
* ui: publish draw times + add test

* add some checks

* adjust

* fix linter

* update max

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 15b8c7d1dc
2022-10-17 17:14:38 -07:00
Cameron Clough
23a4e66b17 configure mypy outside of pre-commit environment (#25892)
* add mypy config matching precommit

* use local mypy, add files to config

* excludes too

* fix config

* pylint is sad now... did it get updated?

* fix typing hints

* ignore

* this should be a regexp

* mypy doesn't like Deque despite inheriting MutableSequence

* more excludes

* Revert "pylint is sad now... did it get updated?"

This reverts commit 250c632f18ecb3d33ffb931e15425f9314a0964b.
old-commit-hash: 4e310b807f
2022-09-27 20:43:05 -07:00
Adeeb Shihadeh
2445fdc4d0 remove mypy ignore from a few scripts
old-commit-hash: 11b5d51da6
2022-06-30 15:36:40 -07:00
Adeeb Shihadeh
25cfa2b65a tici: affine loggerd to efficiency cores (#22581)
old-commit-hash: 84de248fa7
2021-10-18 13:21:24 -07:00
Adeeb Shihadeh
0c29c7928b check_timings.py: start printing immediately
old-commit-hash: a7cc34fd77
2021-09-13 20:08:43 -07:00
Adeeb Shihadeh
277bd43b15 Revert "tici: give loggerd rt priority (#21503)"
This reverts commit 0a50cf851e79342cf3db01033bc91516c504cbea.

old-commit-hash: 54a4eeb0fc
2021-08-22 16:57:53 -07:00
Adeeb Shihadeh
5c1d1ebe76 tici: give loggerd rt priority (#21503)
* give loggerd rt priority

* assert

* little more

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7e2752c878
2021-08-20 21:27:31 -07:00
Adeeb Shihadeh
65dc6c3209 fixup timing script
old-commit-hash: 69160375c6
2021-07-09 21:12:18 -07:00
Adeeb Shihadeh
2445ace577 debug script for checking timings
old-commit-hash: d11b0c06bf
2021-07-09 21:08:16 -07:00