diff --git a/pkg/runtime/exec_init.go b/pkg/runtime/exec_init.go index 29489ce6..f3ad1446 100644 --- a/pkg/runtime/exec_init.go +++ b/pkg/runtime/exec_init.go @@ -158,6 +158,16 @@ var starlarkExtendedUniverse = map[string][]string{ }, "set": { + "add", + "clear", + "difference", + "discard", + "intersection", + "issubset", + "issuperset", + "pop", + "remove", + "symmetric_difference", "union", }, } diff --git a/pkg/runtime/fmt_warnings_test.go b/pkg/runtime/fmt_warnings_test.go index 7b385a2d..4a7a8c81 100644 --- a/pkg/runtime/fmt_warnings_test.go +++ b/pkg/runtime/fmt_warnings_test.go @@ -26,7 +26,6 @@ func TestFmtWarnings(t *testing.T) { "git-repository", "http-archive", "load", - "load-on-top", "module-docstring", "native-android", "native-build", @@ -35,14 +34,12 @@ func TestFmtWarnings(t *testing.T) { "native-package", "native-proto", "native-py", - "out-of-order-load", "output-group", "package-name", "package-on-top", "provider-params", "repository-name", "rule-impl-return", - "same-origin-load", } require.Subset(t, warn.AllWarnings, deny) require.IsIncreasing(t, deny)