OpenCyphal / nunavut

Generate code from DSDL using PyDSDL and Jinja2
https://nunavut.readthedocs.io/
Other
39 stars 24 forks source link

Refactor jinja.CodeGenerator constructor #328

Open thirtytwobits opened 10 months ago

thirtytwobits commented 10 months ago

jinja/init.py has 15 parameters. sonarcloud is rightly complaining about this. We should refactor this to use a configuration object that can also handle some of the logic in the constructor for processing the raw parameters.