linguist
linguist copied to clipboard
Exclude Python Files Generated by Protocol Buffers from Language Statistics
Problem:
Linguist currently counts Python files generated by Protocol Buffers as regular Python code. These machine-generated files should be excluded from language statistics.
Example:
Typical patterns for generated Python files:
-
*_pb2.py -
*_pb2.pyi -
*_pb2_grpc.py
Example project: pplmx/pb
Expected Behavior:
Linguist should detect and skip Python files generated by Protocol Buffers based on their naming patterns.
Reference:
Documentation for generated Python files: Protocol Buffers Python Generated Code
Thank you!