mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-19 01:33:52 +08:00
pre-commit: autoupdate hooks (#1789)
* Update pre-commit hook versions * fix --------- Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
This commit is contained in:
@@ -388,7 +388,7 @@ class Panda:
|
||||
return context, usb_handle, usb_serial, bootstub, bcd
|
||||
|
||||
@classmethod
|
||||
def list(cls): # noqa: A003
|
||||
def list(cls):
|
||||
ret = cls.usb_list()
|
||||
ret += cls.spi_list()
|
||||
return list(set(ret))
|
||||
|
||||
@@ -72,7 +72,7 @@ class PandaDFU:
|
||||
return None, handle
|
||||
|
||||
@staticmethod
|
||||
def list() -> List[str]: # noqa: A003
|
||||
def list() -> List[str]:
|
||||
ret = PandaDFU.usb_list()
|
||||
ret += PandaDFU.spi_list()
|
||||
return list(set(ret))
|
||||
|
||||
Reference in New Issue
Block a user