mercedes-benz / odxtools

odxtools is a collection of utilities to interact with the diagnostic functionality of automotive electronic control units using python
MIT License
171 stars 70 forks source link

More list comprehensions #305

Closed andlaus closed 3 months ago

andlaus commented 4 months ago

This replaces create_sdgs_from_et() and create_company_datas_from_et() by list comprehensions. The reasons are that these functions were pretty trivial, doing it via list comprehensions is more explicit and it is even slightly shorter overall.

Andreas Lauser <andreas.lauser@mercedes-benz.com>, on behalf of MBition GmbH. Provider Information

andlaus commented 3 months ago

@kayoub5: do you see any further issues with this or can it be merged?