Add proto files
Description
This MR contains changes for both #1 and #2. It's heavily inspired by the prototype work done by @mk2155 in https://gitlab.developers.cam.ac.uk/uis/devops/experiments/mk2155/protobuf-prototype. There are a couple of differences though:
- Using betterproto (
buf.build/community/danielgtaylor-betterproto:v1.2.5
) instead ofbuf.build/protocolbuffers/python
andbuf.build/protocolbuffers/pyi
- Change the folder structure to also version
AccountSelectorEvent
becausebuf-lint
was complaining that the structure in the prototype was not correct
This MR also adds:
- pre-commit with
buf-lint
andbuf-format
- GitLab pipeline to run pre-commit
- Information how to generate the Python files locally
- release-it to handle versions
Edited by Sebastiaan ten Pas
Merge request reports
Activity
Filter activity
Please register or sign in to reply