mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-20 17:13:53 +08:00
* str enum
* import sort
* fix car helpers
* fix that
* fix static analysis
old-commit-hash: 6ae465e4af
14 lines
259 B
Python
14 lines
259 B
Python
from enum import StrEnum
|
|
from typing import Dict, List, Optional, Union
|
|
|
|
from openpilot.selfdrive.car.docs_definitions import CarInfo
|
|
|
|
|
|
class CAR(StrEnum):
|
|
MOCK = 'mock'
|
|
|
|
|
|
CAR_INFO: Dict[str, Optional[Union[CarInfo, List[CarInfo]]]] = {
|
|
CAR.MOCK: None,
|
|
}
|