mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-04 04:52:09 +08:00
9bd90112d0
* add pyupgrade hook * run pyupgrade (pre-commit run -a) * ruff --fix * Revert "add pyupgrade hook" This reverts commit 56ec18bb6b8602a0b612f3803d96cdad14b52066. * revert changes to third_party/ * manual type fixes * explicit Optional wrapping capnp objects old-commit-hash: 995250ae4967943ee33a3699a1d89a7a770d95e9
13 lines
203 B
Python
13 lines
203 B
Python
from enum import StrEnum
|
|
|
|
from openpilot.selfdrive.car.docs_definitions import CarInfo
|
|
|
|
|
|
class CAR(StrEnum):
|
|
MOCK = 'mock'
|
|
|
|
|
|
CAR_INFO: dict[str, CarInfo | list[CarInfo] | None] = {
|
|
CAR.MOCK: None,
|
|
}
|