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:
Adeeb Shihadeh 2023-08-29 13:18:26 -07:00 committed by GitHub
parent ab072335d9
commit 81aea1a7c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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])