Merge pull request #28 from aiuto/linty
Do some things to make buildifier happy
diff --git a/rules/license.bzl b/rules/license.bzl
index 1a90b09..86e0307 100644
--- a/rules/license.bzl
+++ b/rules/license.bzl
@@ -84,8 +84,8 @@
may be used to produce an index of OSS packages used by
an applicatation.
"""
- license_text_arg = kwargs.get("license_text") or "LICENSE"
- single_kind = kwargs.get("license_kind")
+ license_text_arg = kwargs.pop("license_text", default = None) or "LICENSE"
+ single_kind = kwargs.pop("license_kind", default = None)
if single_kind:
if license_kinds:
fail("Can not use both license_kind and license_kinds")
@@ -99,4 +99,5 @@
package_name = package_name,
applicable_licenses = [],
tags = tags,
+ visibility = ["//visibility:public"],
)