mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 10:03:55 +08:00
* add vehicles.vue template * add original vue file * stash * stash * clean up a bit * add template for now * implement footnotes and tier copy * no more generator * convert to 2 spaces * should work, now onto vue * does GH handle this html well? * fix * auto-generate descriptions and make tiers' maps non-str * remove old files * move template specific variable into templates, should be a bit simpler * js template is simplier too now js template is simplier too now js template is simplier too now * add video links from the nice car_info * make rows attributes * clean up * fix * remove template * experiment with video links in GH add image how does this look? fix * Revert "experiment with video links in GH" This reverts commit 8375e717b563f7b4ecf009ffae00174de1a0b8e9. * sort tier_car_info in place * unused Tuple * no type check * fix script
14 lines
384 B
Python
Executable File
14 lines
384 B
Python
Executable File
#!/usr/bin/env python3
|
|
from collections import Counter
|
|
from pprint import pprint
|
|
|
|
from selfdrive.car.docs import get_tier_car_info
|
|
|
|
if __name__ == "__main__":
|
|
tiers = get_tier_car_info()
|
|
cars = [car for tier_cars in tiers.values() for car in tier_cars]
|
|
|
|
make_count = Counter(l.make for l in cars)
|
|
print("\n", "*" * 20, len(cars), "total", "*" * 20, "\n")
|
|
pprint(make_count)
|