From d7c5518fa061ae18a20d00b14082705d3d2d885d Mon Sep 17 00:00:00 2001 From: Thomas Van Lenten Date: Wed, 21 Nov 2018 13:04:25 -0500 Subject: buildifier lint issues/validation * Fix lint issues - Move the doc string into the `doc` attributes on the rule/attr calls. - Move the print() below the load() statements. * Also run buildifier in --lint=fix mode to catch issues on Travis. --- lib.bzl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib.bzl') diff --git a/lib.bzl b/lib.bzl index 4674be7..d99e498 100644 --- a/lib.bzl +++ b/lib.bzl @@ -14,12 +14,6 @@ """Index from which multiple modules can be loaded.""" -print( - "WARNING: lib.bzl is deprecated and will go away in the future, please" + - " directly load the bzl file(s) of the module(s) needed as it is more" + - " efficient.", -) - load("//lib:collections.bzl", _collections = "collections") load("//lib:dicts.bzl", _dicts = "dicts") load("//lib:new_sets.bzl", _new_sets = "sets") @@ -33,6 +27,12 @@ load("//lib:types.bzl", _types = "types") load("//lib:versions.bzl", _versions = "versions") load("//lib:unittest.bzl", _asserts = "asserts", _unittest = "unittest") +print( + "WARNING: lib.bzl is deprecated and will go away in the future, please" + + " directly load the bzl file(s) of the module(s) needed as it is more" + + " efficient.", +) + collections = _collections dicts = _dicts new_sets = _new_sets -- cgit v1.2.3