Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore files generated from proto files #202

Merged
merged 1 commit into from
Dec 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
### Cookiecutter template

- The `pylint` check `too-many-return-statements` is now disabled by default.
- Generated protobuf files are now ignored by Git.

## Bug Fixes

Expand Down
8 changes: 8 additions & 0 deletions cookiecutter/{{cookiecutter.github_repo_name}}/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,14 @@ cython_debug/

# PyCharm
.idea
{%- if cookiecutter.type == "api" %}

# Auto-generated python files from the protocol buffer compiler
py/**/*_pb2.py
py/**/*_pb2.pyi
py/**/*_pb2_grpc.py
py/**/*_pb2_grpc.pyi
{%- endif %}

# Automatically generated documentation
docs/reference/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,12 @@ cython_debug/
# PyCharm
.idea

# Auto-generated python files from the protocol buffer compiler
py/**/*_pb2.py
py/**/*_pb2.pyi
py/**/*_pb2_grpc.py
py/**/*_pb2_grpc.pyi

# Automatically generated documentation
docs/reference/
site/