mirror of https://github.com/rusefi/opendbc.git
pre-commit: autoupdate hooks (#931)
* Update pre-commit hook versions * fix static analysis --------- Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com> Co-authored-by: Shane Smiskol <shane@smiskol.com>
This commit is contained in:
parent
ab072335d9
commit
81aea1a7c3
|
@ -19,7 +19,7 @@ repos:
|
|||
hooks:
|
||||
- id: mypy
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: v0.0.285
|
||||
rev: v0.0.286
|
||||
hooks:
|
||||
- id: ruff
|
||||
- repo: https://github.com/MarcoGorelli/cython-lint
|
||||
|
|
|
@ -139,7 +139,7 @@ class TestCanParserPacker(unittest.TestCase):
|
|||
parser = CANParser(dbc_file, msgs, 0)
|
||||
packer = CANPacker(dbc_file)
|
||||
|
||||
for brake in range(0, 100):
|
||||
for brake in range(100):
|
||||
values = {"USER_BRAKE": brake}
|
||||
msgs = packer.make_can_msg("VSA_STATUS", 0, values)
|
||||
bts = can_list_to_can_capnp([msgs])
|
||||
|
|
Loading…
Reference in New Issue