mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 12:23:53 +08:00
* add openpilot prefix to imports * more * more * fix docs * fix linter * bump submodules * fix patched tests * update dynamic imports * debug * Revert "debug" This reverts commit db5e13b9911cc74438bee123bc3430da6c31b24b. * fix pm test
12 lines
322 B
Python
Executable File
12 lines
322 B
Python
Executable File
#!/usr/bin/env python3
|
|
from collections import Counter
|
|
from pprint import pprint
|
|
|
|
from openpilot.selfdrive.car.docs import get_all_car_info
|
|
|
|
if __name__ == "__main__":
|
|
cars = get_all_car_info()
|
|
make_count = Counter(l.make for l in cars)
|
|
print("\n", "*" * 20, len(cars), "total", "*" * 20, "\n")
|
|
pprint(make_count)
|