The plugin will search for any templataes like the following: %%% proto.message.MessageName %%%
and will replace the template with the protobuf message MessageName. See the tests directory
for an example. The escape characters are odd as to not interfere w/ Jinja2 templating from other plugins.
Development
Setup environement
You should have Pipenv installed. Then, you can install the dependencies with:
pipenvinstall--dev
After that, activate the virtual environment:
pipenvshell
Run unit tests
You can run all the tests with:
maketest
Alternatively, you can run pytest yourself:
pytest
Format the code
Execute the following command to apply isort and black formatting:
makeformat
License
This project is licensed under the terms of the Apache Software License 2.0.