From 3c7bc4909030f3af212b866321490bc2db55cd5e Mon Sep 17 00:00:00 2001 From: Corentin Le Molgat Date: Fri, 27 Sep 2024 13:02:36 +0200 Subject: [PATCH] cleanup --- ortools/sat/samples/BUILD.bazel | 12 +++++++++--- ortools/sat/samples/code_samples.bzl | 10 +++++----- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/ortools/sat/samples/BUILD.bazel b/ortools/sat/samples/BUILD.bazel index 14fed40823..95de48b809 100644 --- a/ortools/sat/samples/BUILD.bazel +++ b/ortools/sat/samples/BUILD.bazel @@ -11,9 +11,14 @@ # See the License for the specific language governing permissions and # limitations under the License. -load(":code_samples.bzl", - "code_sample_cc_go_py", "code_sample_cc_py", - "code_sample_go", "code_sample_java", "code_sample_py") +load( + ":code_samples.bzl", + "code_sample_cc_go_py", + "code_sample_cc_py", + "code_sample_go", + "code_sample_java", + "code_sample_py", +) code_sample_py(name = "all_different_except_zero_sample_sat") @@ -36,6 +41,7 @@ code_sample_py(name = "bool_and_int_var_product_sample_sat") code_sample_cc_go_py(name = "bool_or_sample_sat") code_sample_go(name = "boolean_product_sample_sat") + code_sample_py(name = "boolean_product_sample_sat") code_sample_cc_go_py(name = "channeling_sample_sat") diff --git a/ortools/sat/samples/code_samples.bzl b/ortools/sat/samples/code_samples.bzl index 7f7f0ece59..2d1e4afb84 100644 --- a/ortools/sat/samples/code_samples.bzl +++ b/ortools/sat/samples/code_samples.bzl @@ -49,11 +49,11 @@ def code_sample_go(name): size = "small", srcs = [name + ".go"], deps = [ - "//ortools/sat:cp_model_go_proto", - "//ortools/sat:sat_parameters_go_proto", - "//ortools/sat/go/cpmodel", - "@com_github_golang_glog//:glog", - "@org_golang_google_protobuf//proto", + "//ortools/sat:cp_model_go_proto", + "//ortools/sat:sat_parameters_go_proto", + "//ortools/sat/go/cpmodel", + "@com_github_golang_glog//:glog", + "@org_golang_google_protobuf//proto", ], )