Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: remove unused code #1606

Merged
merged 1 commit into from
Dec 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions opendbc/car/docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def get_all_footnotes() -> dict[Enum, int]:
return {fn: idx + 1 for idx, fn in enumerate(all_footnotes)}


def build_sorted_car_docs_list(platforms, footnotes=None, include_dashcam=False, include_custom=False):
def build_sorted_car_docs_list(platforms, footnotes=None, include_dashcam=False):
collected_car_docs: list[CarDocs | ExtraCarDocs] = []
for model, platform in platforms.items():
car_docs = platform.config.car_docs
Expand Down Expand Up @@ -70,7 +70,7 @@ def get_all_car_docs() -> list[CarDocs]:


def get_car_docs_with_extras() -> list[CarDocs | ExtraCarDocs]:
sorted_list: list[CarDocs] = build_sorted_car_docs_list(EXTRA_PLATFORMS, include_custom=True, include_dashcam=True)
sorted_list: list[CarDocs] = build_sorted_car_docs_list(EXTRA_PLATFORMS, include_dashcam=True)
return sorted_list


Expand Down
Loading