blob: 3222b09ed8afd3d35c6a437a43b1af78f9469b09 [file] [edit]
# This file configures https://buf.build/
version: v2
modules:
- path: .
excludes:
# Otherwise buf picks up standard google proto files under
# ./tools/include.
- tools
- py/.venv
lint:
use:
- STANDARD
- COMMENTS
- PACKAGE_SAME_JAVA_MULTIPLE_FILES
- STABLE_PACKAGE_NO_IMPORT_UNSTABLE
except:
- SERVICE_SUFFIX
# We need the grpc stubs to end up in their own package, which violates this check.
- PACKAGE_SAME_GO_PACKAGE
ignore:
- google
ignore_only:
PACKAGE_VERSION_SUFFIX:
- testing
COMMENTS:
- testing
enum_zero_value_suffix: _UNKNOWN
rpc_allow_same_request_response: false
rpc_allow_google_protobuf_empty_requests: false
rpc_allow_google_protobuf_empty_responses: false