Skip to content

Commit

Permalink
Merge branch 'commaai:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
MonsterPerformance authored Aug 1, 2023
2 parents 803bc3f + 7d23b4c commit 430bdd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repos:
hooks:
- id: mypy
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
rev: 6.1.0
hooks:
- id: flake8
exclude: 'site_scons/'
Expand Down
2 changes: 1 addition & 1 deletion can/packer_pyx.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ cdef class CANPacker:

cpdef make_can_msg(self, name_or_addr, bus, values):
cdef int addr
if type(name_or_addr) == int:
if isinstance(name_or_addr, int):
addr = name_or_addr
else:
addr = self.name_to_address[name_or_addr.encode("utf8")]
Expand Down

0 comments on commit 430bdd9

Please sign in to comment.