Skip to content

Commit

Permalink
Remove staticanalysis best practices options from enums.proto
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 673845079
  • Loading branch information
protobuf-github-bot authored and copybara-github committed Sep 12, 2024
1 parent 5d9deab commit cb6b460
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion rust/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ proto_library(
name = "enums_proto",
testonly = True,
srcs = ["enums.proto"],
deps = ["//devtools/staticanalysis/pipeline/analyzers/proto_best_practices/proto:optouts_proto"],
)

rust_cc_proto_library(
Expand Down
7 changes: 0 additions & 7 deletions rust/test/enums.proto
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@ syntax = "proto3";

package enums;

import "devtools/staticanalysis/pipeline/analyzers/proto_best_practices/proto/optouts.proto";

option (proto_best_practices.file_optouts) = {
categories: ENUM_DEFAULT_VALUE_NAME_CONFLICT
categories: ENUM_VALUE_NAMES
};

// This should result in an enum with these accessible values:
// - Unknown = 0
// - Unrecognized = 0
Expand Down

0 comments on commit cb6b460

Please sign in to comment.