Skip to content

Commit

Permalink
pass tests
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre Fenoll <[email protected]>
  • Loading branch information
fenollp committed Oct 30, 2024
1 parent c47ca58 commit 6e7ba53
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
10 changes: 10 additions & 0 deletions pkg/runtime/exec_init.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,16 @@ var starlarkExtendedUniverse = map[string][]string{
},

"set": {
"add",
"clear",
"difference",
"discard",
"intersection",
"issubset",
"issuperset",
"pop",
"remove",
"symmetric_difference",
"union",
},
}
Expand Down
3 changes: 0 additions & 3 deletions pkg/runtime/fmt_warnings_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ func TestFmtWarnings(t *testing.T) {
"git-repository",
"http-archive",
"load",
"load-on-top",
"module-docstring",
"native-android",
"native-build",
Expand All @@ -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)
Expand Down

0 comments on commit 6e7ba53

Please sign in to comment.