Skip to content

Commit ce745e5

Browse files
committed
add comment
1 parent 68a215d commit ce745e5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.generator/cli.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1040,6 +1040,9 @@ def _verify_library_namespace(library_id: str, repo: str, is_mono_repo: bool):
10401040
# Find all parent directories for '*.proto' files
10411041
for proto_file in library_path.rglob(proto_file):
10421042
proto_path = str(proto_file.parent.relative_to(library_path))
1043+
# Exclude proto paths which are not intended to be used for code generation.
1044+
# Generally any protos under the `samples` directory or in a
1045+
# directory called `proto` are not used for code generation.
10431046
if proto_path.startswith("samples") or proto_path.endswith("proto"):
10441047
continue
10451048
relevant_dirs.add(proto_file.parent)

0 commit comments

Comments
 (0)