Add buildifier overrides to make test inputs compatible
diff --git a/test/testdata/misc_apis_test/input.bzl b/test/testdata/misc_apis_test/input.bzl index 943442f..4796b49 100644 --- a/test/testdata/misc_apis_test/input.bzl +++ b/test/testdata/misc_apis_test/input.bzl
@@ -17,6 +17,7 @@ exercise_the_api() +# buildifier: disable=provider-params MyInfo = provider( fields = { "foo": "Something foo-related.",
diff --git a/test/testdata/provider_basic_test/input.bzl b/test/testdata/provider_basic_test/input.bzl index 7600f2c..4003a05 100644 --- a/test/testdata/provider_basic_test/input.bzl +++ b/test/testdata/provider_basic_test/input.bzl
@@ -1,4 +1,5 @@ # buildifier: disable=module-docstring +# buildifier: disable=provider-params MyPoorlyDocumentedInfo = provider() MyFooInfo = provider(
diff --git a/test/testdata/providers_for_attributes_test/dep.bzl b/test/testdata/providers_for_attributes_test/dep.bzl index 56ab3b7..841c561 100644 --- a/test/testdata/providers_for_attributes_test/dep.bzl +++ b/test/testdata/providers_for_attributes_test/dep.bzl
@@ -1,5 +1,6 @@ "A file to test providers not defined in the same file." +# buildifier: disable=provider-params DepProviderInfo = provider( doc = "This provider does something.", )
diff --git a/test/testdata/providers_for_attributes_test/input.bzl b/test/testdata/providers_for_attributes_test/input.bzl index 284852d..a9b4e19 100644 --- a/test/testdata/providers_for_attributes_test/input.bzl +++ b/test/testdata/providers_for_attributes_test/input.bzl
@@ -5,6 +5,7 @@ def my_rule_impl(ctx): return [] +# buildifier: disable=provider-params MyProviderInfo = provider( fields = { "foo": "Something foo-related.", @@ -12,6 +13,7 @@ }, ) +# buildifier: disable=provider-params OtherProviderInfo = provider() other_provider_info = OtherProviderInfo(fields = ["foo"])