mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 08:14:00 +08:00
Update Python packages and pre-commit hooks (#29974)
* Update Python packages and pre-commit hooks * fix linter --------- Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com> old-commit-hash: cd75dcb03fa282d461544ef097f8701f1aa5578f
This commit is contained in:
@@ -38,7 +38,7 @@ repos:
|
||||
args: ['--explicit-package-bases']
|
||||
exclude: '^(third_party/)|(cereal/)|(opendbc/)|(panda/)|(laika/)|(laika_repo/)|(rednose/)|(rednose_repo/)|(tinygrad/)|(tinygrad_repo/)|(xx/)'
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: v0.0.288
|
||||
rev: v0.0.290
|
||||
hooks:
|
||||
- id: ruff
|
||||
exclude: '^(third_party/)|(cereal/)|(rednose/)|(panda/)|(laika/)|(laika_repo/)|(rednose_repo/)|(tinygrad/)|(tinygrad_repo/)'
|
||||
|
||||
Generated
+2
-2
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:811e5f8a35369917fb9dc681592e923c4360ab15d59991b8e247e3f6a2e6b7ed
|
||||
size 441979
|
||||
oid sha256:b3f0c3196e6ef092e596c7268f5d091be97c0de3e77f5aeab39bc76b2bb84200
|
||||
size 442779
|
||||
|
||||
@@ -8,7 +8,7 @@ from openpilot.selfdrive.car.fingerprints import _FINGERPRINTS as FINGERPRINTS
|
||||
|
||||
|
||||
class TestCanFingerprint(unittest.TestCase):
|
||||
@parameterized.expand([(c, f) for c, f in FINGERPRINTS.items()])
|
||||
@parameterized.expand(list(FINGERPRINTS.items()))
|
||||
def test_can_fingerprint(self, car_model, fingerprints):
|
||||
"""Tests online fingerprinting function on offline fingerprints"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user