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
Shane Smiskol
d689a4e653
Fix string indentation ( #30943 )
...
* fix bad spacing
* more
* these aren't important
1 year ago
Justin Newberry
dde225221e
CI: run unittests in parallel with xdist ( #29756 )
...
* parallel tests
* review suggesions
* add to pyproject
* add a bit more buffer on that
* fix rare athena issue
* remove from pypoetry
2 years ago
Adeeb Shihadeh
a9626f95b6
add openpilot prefix to imports ( #29498 )
...
* add openpilot prefix to imports
* more
* more
* fix docs
* fix linter
* bump submodules
* fix patched tests
* update dynamic imports
* debug
* Revert "debug"
This reverts commit db5e13b991
.
* fix pm test
2 years ago
Justin Newberry
cf64b27168
Linter: Fix >160 line length test ( #29287 )
...
* test
* fix line length
* fix line length
* fix file size
* revert poetry
* cleanup for PR
2 years ago
Shane Smiskol
88ce2f7a52
Test lateral limits: fix jerk calculation ( #27654 )
...
* fix test
* add lower jerk limit, lower up tolerance
* add to ignored cars
2 years ago
Shane Smiskol
8b8c4d810f
test lateral limits: remove Konas from blacklist ( #27424 )
...
* remove konas from blacklist
* update measured accel
* remove
* no longer needed
2 years ago
Shane Smiskol
b00bc4f57e
Car interface: require fingerprint and FW versions to get params ( #26932 )
...
* require fingerprint and FW versions
* add get_non_essential_params()
* comment
* all required
* classmethod, need to allow subclasses to override _get_params
* fix that
* fix
* fix
* wrong fix 🤦
2 years ago
Shane Smiskol
aab33b1c5f
Lateral jerk unit test ( #25759 )
...
* stash
* more test
* less test
* clean test
* no angle
* add tolerance
* fix gm
fix gm
* test both
* lower some rates on hkg
* stash
* simpler
* bump panda
* Revert "bump panda"
This reverts commit f2137c2211
.
* only torque
* make kona pass
* duplicate __init__
* move
* half clean up
* half clean up
* more clean up
* more clean up
* fix static analysis
* calculate over 0.5 seconds
* limit to max steer
* type annotation
* calc once
2 years ago