File tree Expand file tree Collapse file tree 3 files changed +15
-0
lines changed
cookiecutter/{{cookiecutter.github_repo_name}}
tests_golden/integration/test_cookiecutter_generation/api/frequenz-api-test Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 2020### Cookiecutter template
2121
2222- The ` pylint ` check ` too-many-return-statements ` is now disabled by default.
23+ - Generated protobuf files are now ignored by Git.
2324
2425## Bug Fixes
2526
Original file line number Diff line number Diff line change @@ -144,6 +144,14 @@ cython_debug/
144144
145145# PyCharm
146146.idea
147+ {%- if cookiecutter.type == "api" %}
148+
149+ # Auto-generated python files from the protocol buffer compiler
150+ py /** /* _pb2.py
151+ py /** /* _pb2.pyi
152+ py /** /* _pb2_grpc.py
153+ py /** /* _pb2_grpc.pyi
154+ {%- endif %}
147155
148156# Automatically generated documentation
149157docs /reference /
Original file line number Diff line number Diff line change @@ -145,6 +145,12 @@ cython_debug/
145145# PyCharm
146146.idea
147147
148+ # Auto-generated python files from the protocol buffer compiler
149+ py /** /* _pb2.py
150+ py /** /* _pb2.pyi
151+ py /** /* _pb2_grpc.py
152+ py /** /* _pb2_grpc.pyi
153+
148154# Automatically generated documentation
149155docs /reference /
150156site /
You can’t perform that action at this time.
0 commit comments