Cameron Clough
995250ae49
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 56ec18bb6b
.
* revert changes to third_party/
* manual type fixes
* explicit Optional wrapping capnp objects
1 year ago
Adeeb Shihadeh
15b8c7d1dc
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>
3 years ago
Cameron Clough
4e310b807f
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 250c632f18
.
3 years ago
Adeeb Shihadeh
11b5d51da6
remove mypy ignore from a few scripts
3 years ago
Adeeb Shihadeh
84de248fa7
tici: affine loggerd to efficiency cores ( #22581 )
4 years ago
Adeeb Shihadeh
a7cc34fd77
check_timings.py: start printing immediately
4 years ago
Adeeb Shihadeh
54a4eeb0fc
Revert "tici: give loggerd rt priority ( #21503 )"
...
This reverts commit 7e2752c878
.
4 years ago
Adeeb Shihadeh
7e2752c878
tici: give loggerd rt priority ( #21503 )
...
* give loggerd rt priority
* assert
* little more
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
69160375c6
fixup timing script
4 years ago
Adeeb Shihadeh
d11b0c06bf
debug script for checking timings
4 years ago